diff options
Diffstat (limited to 'Functions/VCS_Info/vcs_info')
-rw-r--r-- | Functions/VCS_Info/vcs_info | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Functions/VCS_Info/vcs_info b/Functions/VCS_Info/vcs_info index a821e4d03..4344d0b6e 100644 --- a/Functions/VCS_Info/vcs_info +++ b/Functions/VCS_Info/vcs_info @@ -41,6 +41,8 @@ vcs_info () { emulate -L zsh setopt extendedglob + [[ -r . ]] || return 0 + local pat local -i found local -a enabled disabled dps |