about summary refs log tree commit diff
path: root/Completion/Builtins
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-21 09:53:40 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-21 09:53:40 +0000
commit256cde1884ee30a291b8845e4e817031ffca3e87 (patch)
tree8c26f33d173860e701e692f4af1016264f80ca49 /Completion/Builtins
parente452543d92129f9b3d5aeb72b2a3846ba4589402 (diff)
downloadzsh-256cde1884ee30a291b8845e4e817031ffca3e87.tar.gz
zsh-256cde1884ee30a291b8845e4e817031ffca3e87.tar.xz
zsh-256cde1884ee30a291b8845e4e817031ffca3e87.zip
zsh-workers/9809
Diffstat (limited to 'Completion/Builtins')
-rw-r--r--Completion/Builtins/_popd4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Builtins/_popd b/Completion/Builtins/_popd
index 6f0908ede..b79121139 100644
--- a/Completion/Builtins/_popd
+++ b/Completion/Builtins/_popd
@@ -9,11 +9,11 @@ setopt extendedglob nonomatch
 
 local expl list lines revlines disp
 
-_wanted -V directory-stack expl 'directory stack' || return 1
-
 ! zstyle -T ":completion:${curcontext}:directory-stack" prefix-needed ||
     [[ $PREFIX = [-+]* ]] || return 1
 
+_wanted -V directory-stack expl 'directory stack' || return 1
+
 if zstyle -T ":completion:${curcontext}:directory-stack" verbose; then
   # get the list of directories with their canonical number
   # and turn the lines into an array, removing the current directory