From: martin f. krafft Date: Wed, 7 May 2008 20:15:57 +0000 (+0100) Subject: purer implementation of ldir X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/d4d4aa99cf780f86aae1ba1b49067e4d3782b30e?ds=inline purer implementation of ldir --- diff --git a/.zsh/zshrc/99_TODO b/.zsh/zshrc/99_TODO index 83a8412..63cf6c4 100644 --- a/.zsh/zshrc/99_TODO +++ b/.zsh/zshrc/99_TODO @@ -9,7 +9,7 @@ # Source repository: http://git.madduck.net/v/etc/zsh.git # -ldir() { eval $1="$PWD" ; : ~$1 } +ldir() { eval hash -d $1="$PWD"; cd .; } alias Q='exec zsh' alias ozsh='ZDOTDIR=$HOME/.etc/zsh exec zsh'