Skip to content

Commit

Permalink
[zsh] removed obsolet chpwd function
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Apr 15, 2012
1 parent 89143ac commit 1a638d2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .zsh/functions.zsh
Expand Up @@ -41,6 +41,3 @@ if [[ -f $DIRSTACKFILE ]] && [[ $#dirstack -eq 0 ]]; then
dirstack=( ${(f)"$(< $DIRSTACKFILE)"} )
[[ -d $dirstack[1] ]] && cd $dirstack[1] && cd $OLDPWD
fi
chpwd() {
print -l $PWD ${(u)dirstack} >$DIRSTACKFILE
}

0 comments on commit 1a638d2

Please sign in to comment.