summaryrefslogtreecommitdiff
path: root/etc/functions/dirinfo
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/dirinfo')
-rw-r--r--etc/functions/dirinfo8
1 files changed, 1 insertions, 7 deletions
diff --git a/etc/functions/dirinfo b/etc/functions/dirinfo
index eb4fda3..62c249c 100644
--- a/etc/functions/dirinfo
+++ b/etc/functions/dirinfo
@@ -5,13 +5,7 @@
typeset string
-if [[ -r .todo ]] {
- if [[ ${#$(todo)} -gt 0 ]] {
- string+='todo* '
- } else {
- string+='todo '
- }
-}
+[[ -r .todo ]] && string+='todo '
[[ -f .fehindex.jpg ]] && string+='feh '
[[ -d .hg ]] && string+='hg '
[[ -d .git ]] && string+='git '