summaryrefslogtreecommitdiff
path: root/etc/functions/chpwd
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-21 10:51:18 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-21 10:51:18 +0200
commit8af309de1f2de285bf4ef9927a82d677141bacc0 (patch)
tree63ceee2f12d459c8e907bfaf27b3e6ec3e6c2bd1 /etc/functions/chpwd
parentcb4ae4ff87273ed07975c5f09c65b862e46928c0 (diff)
chpwd splitup
Diffstat (limited to 'etc/functions/chpwd')
-rw-r--r--etc/functions/chpwd8
1 files changed, 1 insertions, 7 deletions
diff --git a/etc/functions/chpwd b/etc/functions/chpwd
index cf71865..bf8b4d9 100644
--- a/etc/functions/chpwd
+++ b/etc/functions/chpwd
@@ -1,10 +1,4 @@
## vim:ft=zsh
-psvar[1]=''
-[[ -f .todo ]] && psvar[1]+='todo '
-[[ -f .fehindex.jpg ]] && psvar[1]+='feh '
-[[ -d .hg ]] && psvar[1]+='hg '
-[[ -d .git ]] && psvar[1]+='git '
-[[ -d .svn ]] && psvar[1]+='svn '
-[[ -f Makefile || -f makefile ]] && psvar[1]+='make '
+psvar[1]=$(dirinfo)
psvar[2]=$(rtab -f)