From 6c1e2ec9f4a4728dd6338b2e4ea648f6b5cd59ae Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 26 Jun 2008 19:31:30 +0200 Subject: etc/functions: Splitup into seperate files per function --- etc/functions/chpwd | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 etc/functions/chpwd (limited to 'etc/functions/chpwd') diff --git a/etc/functions/chpwd b/etc/functions/chpwd new file mode 100644 index 0000000..8cfd926 --- /dev/null +++ b/etc/functions/chpwd @@ -0,0 +1,10 @@ +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 +} -- cgit v1.2.3