]> git.donarmstrong.com Git - zsh.git/commitdiff
save a subshell
authormartin f. krafft <madduck@madduck.net>
Mon, 5 May 2008 23:17:08 +0000 (00:17 +0100)
committermartin f. krafft <madduck@madduck.net>
Mon, 5 May 2008 23:17:08 +0000 (00:17 +0100)
.zsh/rcsstub

index 9291330fb92b85b1ec0ba29cfa799ae0ba746d64..60beecb34ee1827e7bb3776f146e47e33fe7b68a 100644 (file)
@@ -14,7 +14,7 @@
 if [[ -o rcs ]]; then
   __do_debug && set -x || :
 
-  file="$(print -P %1N)"
+  file="%1N"; file="${(%)file}"
   . $ZDOTDIR/sourcedir
   sourcedir $ZDOTDIR/${file#.}