From d4d4aa99cf780f86aae1ba1b49067e4d3782b30e Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 7 May 2008 21:15:57 +0100 Subject: [PATCH] purer implementation of ldir --- .zsh/zshrc/99_TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.39.5