summaryrefslogtreecommitdiffstats
path: root/.zsh
diff options
context:
space:
mode:
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
}