diff options
Diffstat (limited to '01_Functions.zsh')
-rw-r--r-- | 01_Functions.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh index 514b093..0e236e2 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -25,14 +25,14 @@ cmd_exists () git () { GIT=$(which -p git) case $1 in - init|clone) + init|clone|config) ;; *) if [ "$( ( $GIT ls-files ; $GIT ls-tree HEAD . ) 2>&- | head -n1)" = ""\ -a \( ! -d .git -o "$($GIT rev-parse --git-dir 2>&-)" != ".git" \)\ -a "$($GIT rev-parse --is-inside-git-dir 2>&-)" != "true" ] then - echo >&2 "zsh: the current folder is not managed by git" + echo >&2 "git $1: the current folder is not managed by git" return fi ;; |