summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/completions/__git_files3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/completions/__git_files b/etc/completions/__git_files
index 88e9d1b..8db7d24 100644
--- a/etc/completions/__git_files
+++ b/etc/completions/__git_files
@@ -13,8 +13,7 @@ files=(${(ps:\0:)"$(cd $gitdir/..; _call_program files git ls-files -z $ls_opts
__git_command_successful || return
if [[ -z $gitdir ]] {
- echo "wtf: $gitdir"
- return
+ return 1
}
if [[ ! -d .git ]] {