summaryrefslogtreecommitdiffstats
path: root/.zsh
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-03-26 19:22:12 +0100
committerFlorian Pritz <f-p@gmx.at>2009-03-26 19:22:12 +0100
commit29134773fe1c93345c9565250327b0a0c414cdf9 (patch)
tree1c2d3c5c9cd43fdb05e7b9d38d862e79e9a6a22c /.zsh
parent8549ae88aa73a28e9b2861494ff599b97489e2e7 (diff)
downloaddotfiles-29134773fe1c93345c9565250327b0a0c414cdf9.tar.gz
dotfiles-29134773fe1c93345c9565250327b0a0c414cdf9.tar.xz
removed cd function and use chpwd
Diffstat (limited to '.zsh')
-rw-r--r--.zsh/rc/30functions5
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
}