From 02e6f3719d2a19a5aa35439819a37ad92c2751aa Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 13 Jun 2023 10:34:46 +0200 Subject: removed double declaration of function --- config/essentials/zsh/.zshrc | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'config/essentials') 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 -- cgit v1.2.3