Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: cd -<TAB>



A listing of `cd -<TAB>' was shifted.

Index: Completion/Builtins/_popd
===================================================================
RCS file: /projects/zsh/zsh/Completion/Builtins/_popd,v
retrieving revision 1.1.1.9
diff -u -r1.1.1.9 _popd
--- Completion/Builtins/_popd	1999/12/10 14:47:56	1.1.1.9
+++ Completion/Builtins/_popd	2000/01/06 01:09:54
@@ -17,7 +17,7 @@
 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
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author