X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=5466b635d7dcde4b3ee1dc57cc738469a59ab3c4;hb=73d7a9a13106115c65b57734e1fca59b23152c3f;hp=baa58905a6ac7d28a4358474f0420f8425a6ce77;hpb=a1cd3b6fb0975ea28dee76ec9a8133f78e88133c;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index baa5890..5466b63 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -379,10 +379,8 @@ fi # "cd -" won't work after login by just setting $OLDPWD, so cd $dirstack[0] && cd $OLDPWD fi - # notice: we have to make sure 'dirs' is not a function/alias, otherwise - # zsh might hang of course chpwd() { - alias dirs &>/dev/null || functions dirs &>/dev/null || dirs -pl >! ~/.zdirs + builtin dirs -pl >! ~/.zdirs } # }}}