summaryrefslogtreecommitdiff
path: root/etc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions')
-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)