summaryrefslogtreecommitdiff
path: root/etc/functions/chpwd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/chpwd')
-rw-r--r--etc/functions/chpwd18
1 files changed, 8 insertions, 10 deletions
diff --git a/etc/functions/chpwd b/etc/functions/chpwd
index 8cfd926..fd8feba 100644
--- a/etc/functions/chpwd
+++ b/etc/functions/chpwd
@@ -1,10 +1,8 @@
-chpwd () {
- pstags=''
- [ -f .todo ] && pstags+='todo '
- [ -f .fehindex.jpg ] && pstags+='feh '
- [ -d .hg ] && pstags+='hg '
- [ -d .git ] && pstags+='git '
- [ -d .svn ] && pstags+='svn '
- [ -f Makefile -o -f makefile ] && pstags+='make '
- source $ZDIR/prompt
-}
+pstags=''
+[ -f .todo ] && pstags+='todo '
+[ -f .fehindex.jpg ] && pstags+='feh '
+[ -d .hg ] && pstags+='hg '
+[ -d .git ] && pstags+='git '
+[ -d .svn ] && pstags+='svn '
+[ -f Makefile -o -f makefile ] && pstags+='make '
+source $ZDIR/prompt