diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Zsh/Context/_dynamic_directory_name | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Context/_dynamic_directory_name b/Completion/Zsh/Context/_dynamic_directory_name index fbea15a7a..f449c3b12 100644 --- a/Completion/Zsh/Context/_dynamic_directory_name +++ b/Completion/Zsh/Context/_dynamic_directory_name @@ -5,7 +5,7 @@ integer ret=1 if [[ -n $functions[zsh_directory_name] || \ ${+zsh_directory_name_functions} -ne 0 ]] ; then - zsh_directory_name c && ret=0 + [[ -n $functions[zsh_directory_name] ]] && zsh_directory_name c && ret=0 for func in $zsh_directory_name_functions; do $func c && ret=0 done |