myconfig

my config files
git clone https://a3nm.net/git/myconfig/
Log | Files | Refs | README

commit da032ef735eef4d8c8d96dab94e7684be6bb1ca8
parent e708226b7b4ac438af8e0b54ddc90ae8573a6442
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 15 Aug 2012 20:54:35 +0200

disable lastdir trick

Diffstat:
zsh/zshrc | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/zsh/zshrc b/zsh/zshrc @@ -156,12 +156,6 @@ zle -N save-alias bindkey '^G' save-alias -# Change to most recently used directory: -# http://matt.might.net/articles/console-hacks-exploiting-frequency/ -if [ -f ~/.lastdir ]; then - cd "`cat ~/.lastdir`" -fi - export LASTDIR="/" # fails with spaces in some cases @@ -206,3 +200,10 @@ mln () { mv "$@" && ln -s ${@:$#} } #TODO bindkey '^Q' push-line + +# http://www.solipsys.co.uk/new/BashInitialisationFiles.html?HN0811 +# Change to most recently used directory: +# http://matt.might.net/articles/console-hacks-exploiting-frequency/ +# if [ -f ~/.lastdir ]; then +# cd "`cat ~/.lastdir`" +# fi