about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Builtins/_popd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Builtins/_popd b/Completion/Builtins/_popd
index 9c5981d17..2ba1fbd5f 100644
--- a/Completion/Builtins/_popd
+++ b/Completion/Builtins/_popd
@@ -17,7 +17,7 @@ _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
-  lines=("${PWD}" "${dirstack[@]}")
+  lines=("${dirstack[@]}")
 
   if [[ ( $PREFIX[1] = - && ! -o pushdminus ) ||
         ( $PREFIX[1] = + && -o pushdminus ) ]]; then