about summary refs log tree commit diff
path: root/Functions/Chpwd
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-10-15 18:56:16 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-10-15 18:56:16 +0000
commitbdb38058e4bf67d3a473c806bbb5d7eac5187f51 (patch)
tree82039ddf7ca0e84980fb23a5816268270a21e02b /Functions/Chpwd
parent69134f18cb27ae6a3d8de4c45a77f6da714df3f9 (diff)
downloadzsh-bdb38058e4bf67d3a473c806bbb5d7eac5187f51.tar.gz
zsh-bdb38058e4bf67d3a473c806bbb5d7eac5187f51.tar.xz
zsh-bdb38058e4bf67d3a473c806bbb5d7eac5187f51.zip
28345: make ${(D)...} return a fully usable command line argument
Diffstat (limited to 'Functions/Chpwd')
-rw-r--r--Functions/Chpwd/cdr2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Chpwd/cdr b/Functions/Chpwd/cdr
index 551710499..d4e6ffaaf 100644
--- a/Functions/Chpwd/cdr
+++ b/Functions/Chpwd/cdr
@@ -291,7 +291,7 @@ if (( list )); then
   dirs=($reply)
   for (( i = 1; i <= ${#dirs}; i++ )); do
     print -n ${(r.5.)i}
-    print -D ${dirs[i]}
+    print -r ${(D)dirs[i]}
   done
   return
 fi