summaryrefslogtreecommitdiffstats
path: root/Completion
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-10 01:10:58 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-10 01:10:58 +0000
commit8d44ee0cc5b887467f92c9a3a3bdd0b029e87411 (patch)
tree947d504d7b878ffcf4b8be9fa1b699165fa3aca2 /Completion
parentzsh-workers/10025 (diff)
downloadzsh-8d44ee0cc5b887467f92c9a3a3bdd0b029e87411.tar
zsh-8d44ee0cc5b887467f92c9a3a3bdd0b029e87411.tar.gz
zsh-8d44ee0cc5b887467f92c9a3a3bdd0b029e87411.tar.bz2
zsh-8d44ee0cc5b887467f92c9a3a3bdd0b029e87411.tar.lz
zsh-8d44ee0cc5b887467f92c9a3a3bdd0b029e87411.tar.xz
zsh-8d44ee0cc5b887467f92c9a3a3bdd0b029e87411.tar.zst
zsh-8d44ee0cc5b887467f92c9a3a3bdd0b029e87411.zip
manual/10028
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Builtins/_cd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Builtins/_cd b/Completion/Builtins/_cd
index 6e1790df3..4cb070811 100644
--- a/Completion/Builtins/_cd
+++ b/Completion/Builtins/_cd
@@ -38,7 +38,7 @@ elif _popd || [[ $PREFIX != (\~|/|./|../)* && $#cdpath -ne 0 ]]; then
_path_files -/
else
local tmpcdpath
- tmpcdpath=(${(@)cdpath:#.})
+ tmpcdpath=(${${(@)cdpath:#.}:#$PWD})
_alternative \
'local-directories:local directories:_path_files -/' \
"path-directories:directories in cdpath:_path_files -W tmpcdpath -/"