diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-22 12:52:49 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-22 12:52:49 +0100 |
commit | 06c5e2becdfd9293aa8d90d3e517ef1f03ac653c (patch) | |
tree | 48e649e75fca3b2666c8cb92650aa10a0b9b8cbb /etc/functions/dirinfo | |
parent | 9fc91f8ca80c4dd8b109350d01e4a26993dcb71e (diff) |
make the zshrc work without packages/zsh/etc
Diffstat (limited to 'etc/functions/dirinfo')
-rw-r--r-- | etc/functions/dirinfo | 19 |
1 files changed, 0 insertions, 19 deletions
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 -} |