From: martin f. krafft Date: Sat, 13 Dec 2008 14:01:24 +0000 (+0100) Subject: re-execute zsh with same options as parent X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/ea1e72a96015aa41d58ba0633eaa931bf6c671a1 re-execute zsh with same options as parent --- diff --git a/.zsh/zshrc/99_TODO b/.zsh/zshrc/99_TODO index 4a9cba5..ae9af23 100644 --- a/.zsh/zshrc/99_TODO +++ b/.zsh/zshrc/99_TODO @@ -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 >