From 71fcb2a54d2f301c62bb998a07a865d6200a3d89 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Tue, 30 Nov 2010 07:19:57 -0800 Subject: [PATCH] tweak dir stack stuff --- zsh/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index c869864..5924a0c 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -81,6 +81,8 @@ setopt autocd # automatically cd to a directory if not cmd setopt autopushd # automatically pushd directories on dirstack setopt nopushdsilent # print dirstack after each cd/pushd setopt pushdignoredups # don't push dups on stack +setopt pushdminus # pushd -N goes to Nth dir in stack +export DIRSTACKSIZE=8 # need to find out the difference between these two, just the export? setopt autonamedirs # % export h=/home/sjs; cd ~h; pwd @@ -183,6 +185,7 @@ prompt sjs alias bgd='bg; disown %1' alias cp='nocorrect cp' # don't correct spelling for 'cp' #alias dispatch-conf='sudo dispatch-conf' +alias di='dirs -v' alias ec="$EDITOR ~/config/" alias ev="$EDITOR ~/config/vim/vimrc" alias ez="$EDITOR $ZDOTDIR/zshrc && source $ZDOTDIR/zshrc"