summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-19 14:05:04 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-19 14:05:04 +0200
commit0b81b2ea9a67e76bdd56bee25052316ab4ee5626 (patch)
treea3c92a14e340c19c1d5945c651032e5004052ea4 /etc
parent1cc37e2bdbab25290673f89e626aca56e878bd55 (diff)
etc/functions: chpwd: Show existence of makefiles
Diffstat (limited to 'etc')
-rw-r--r--etc/functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/functions b/etc/functions
index 4a7c82c..113560f 100644
--- a/etc/functions
+++ b/etc/functions
@@ -54,6 +54,7 @@ chpwd () {
[ -d .hg ] && pstags+='hg '
[ -d .git ] && pstags+='git '
[ -d .svn ] && pstags+='svn '
+ [ -f Makefile -o -f makefile ] && pstags+='make '
source $ZDIR/prompt
}