summaryrefslogtreecommitdiff
path: root/etc/functions/chpwd
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-21 09:53:22 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-21 09:53:22 +0200
commit441c82846f60949421a49f795e114bab2ad191d2 (patch)
tree78acf3b53f5d17cffb022446e0b0feebe4e6de40 /etc/functions/chpwd
parentec3713bcae5abfc09361aaeecb602aad7cb4c8ac (diff)
Moved rtab into chpwd
Diffstat (limited to 'etc/functions/chpwd')
-rw-r--r--etc/functions/chpwd4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/functions/chpwd b/etc/functions/chpwd
index a375f04..cf71865 100644
--- a/etc/functions/chpwd
+++ b/etc/functions/chpwd
@@ -1,4 +1,4 @@
-## vim:set ft=zsh
+## vim:ft=zsh
psvar[1]=''
[[ -f .todo ]] && psvar[1]+='todo '
[[ -f .fehindex.jpg ]] && psvar[1]+='feh '
@@ -6,3 +6,5 @@ psvar[1]=''
[[ -d .git ]] && psvar[1]+='git '
[[ -d .svn ]] && psvar[1]+='svn '
[[ -f Makefile || -f makefile ]] && psvar[1]+='make '
+
+psvar[2]=$(rtab -f)