From 29134773fe1c93345c9565250327b0a0c414cdf9 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 26 Mar 2009 19:22:12 +0100 Subject: removed cd function and use chpwd --- .zsh/rc/30functions | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.zsh') 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 } -- cgit v1.2.3-24-g4f1b