diff options
author | Florian Pritz <f-p@gmx.at> | 2009-03-26 19:22:12 +0100 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-03-26 19:22:12 +0100 |
commit | 29134773fe1c93345c9565250327b0a0c414cdf9 (patch) | |
tree | 1c2d3c5c9cd43fdb05e7b9d38d862e79e9a6a22c /.zsh/rc/30functions | |
parent | 8549ae88aa73a28e9b2861494ff599b97489e2e7 (diff) | |
download | dotfiles-29134773fe1c93345c9565250327b0a0c414cdf9.tar.gz dotfiles-29134773fe1c93345c9565250327b0a0c414cdf9.tar.xz |
removed cd function and use chpwd
Diffstat (limited to '.zsh/rc/30functions')
-rw-r--r-- | .zsh/rc/30functions | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.zsh/rc/30functions b/.zsh/rc/30functions index 2cd8afc..75301e9 100644 --- a/.zsh/rc/30functions +++ b/.zsh/rc/30functions @@ -30,9 +30,8 @@ bk() { cp -b ${1} ${1}_`date +%Y-%m-%d_%T` } -# idea see below -cd() { - builtin cd $@ && +# chpwd () => a function which is executed whenever the directory is changed +chpwd() { ls } |