]> git.donarmstrong.com Git - zsh.git/commitdiff
re-execute zsh with same options as parent
authormartin f. krafft <madduck@madduck.net>
Sat, 13 Dec 2008 14:01:24 +0000 (15:01 +0100)
committermartin f. krafft <madduck@madduck.net>
Sat, 13 Dec 2008 14:01:24 +0000 (15:01 +0100)
.zsh/zshrc/99_TODO

index 4a9cba5e5c57fcb47d0704a2865d9db655eeb779..ae9af23c0838add6c74536af5989cb19a46cfb3a 100644 (file)
@@ -11,7 +11,7 @@
 
 ldir() { eval hash -d $1="$PWD"; cd .; }
 
-alias Q='exec zsh'
+alias Q='exec zsh -$-'
 alias ozsh='ZDOTDIR=$HOME/.etc/zsh.migrated exec zsh'
 
 # do not clobber files with >