From 06c5e2becdfd9293aa8d90d3e517ef1f03ac653c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 22 Nov 2009 12:52:49 +0100 Subject: make the zshrc work without packages/zsh/etc --- etc/functions/dirinfo | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 etc/functions/dirinfo (limited to 'etc/functions/dirinfo') diff --git a/etc/functions/dirinfo b/etc/functions/dirinfo deleted file mode 100644 index 689c20f..0000000 --- a/etc/functions/dirinfo +++ /dev/null @@ -1,19 +0,0 @@ -## vim:ft=zsh -## Collect some directory information for the prompt - -typeset string - -[[ -r .todo ]] && string+='todo ' -[[ -f .fehindex.jpg ]] && string+='feh ' -[[ -d .hg ]] && string+='hg ' -[[ -d .git ]] && string+='git ' -[[ -d .svn ]] && string+='svn ' -[[ -f Makefile || -f makefile ]] && string+='make ' - -# if we're running in screen, we're the only one writing into the prompt -# -> no trailing whitespace -if [[ $TERM == screen ]] { - echo ${string% } -} else { - echo $string -} -- cgit v1.2.3