diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-28 10:08:14 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-28 10:08:14 +0200 |
commit | 8896ac675b5bf513074d7552da7d9f4cf8d16217 (patch) | |
tree | 8c126c7993d9148658f9e0dff4033194c88f5ecd /etc/functions/chpwd | |
parent | b906e284447b1515056b8a763d32fb5f4a78b28b (diff) |
now use autoloading for functions
Diffstat (limited to 'etc/functions/chpwd')
-rw-r--r-- | etc/functions/chpwd | 18 |
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 |