summaryrefslogtreecommitdiff
path: root/config/essentials/zsh
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-06-13 10:34:46 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-06-13 10:34:46 +0200
commit02e6f3719d2a19a5aa35439819a37ad92c2751aa (patch)
treec8ab0b3166323e64f23e59162bb253a3919a7ce9 /config/essentials/zsh
parent9ed72228b2b8443f8672c051e826f7b82900be2d (diff)
removed double declaration of function
Diffstat (limited to 'config/essentials/zsh')
-rw-r--r--config/essentials/zsh/.zshrc14
1 files changed, 0 insertions, 14 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc
index 8f37225..4a28ce2 100644
--- a/config/essentials/zsh/.zshrc
+++ b/config/essentials/zsh/.zshrc
@@ -15,20 +15,6 @@ then
exit
fi
-isTextFile()
-{
- if [ -n "$1" ]
- then
- local file_type=$(file -b --mime-type "$1")
- if [[ $file_type == text/* ]]
- then
- return
- else
- return 1
- fi
- fi
-}
-
autoload -U select-word-style
autoload -z edit-command-line
zle -N edit-command-line