diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Zsh/Command/_cd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/_cd b/Completion/Zsh/Command/_cd index fe347ae4c..3a536cb7b 100644 --- a/Completion/Zsh/Command/_cd +++ b/Completion/Zsh/Command/_cd @@ -36,7 +36,7 @@ else tmpcdpath=(${${(@)cdpath:#.}:#$PWD}) # With cdablevars, we can complete foo as if ~foo/ - if [[ -o cdablevars && -n "$PREFIX" ]]; then + if [[ -o cdablevars && -n "$PREFIX" && "$PREFIX" != <-> ]]; then if [[ "$PREFIX" != */* ]]; then _tilde && ret=0 else |