summaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/functions/chpwd_show_todo6
1 files changed, 4 insertions, 2 deletions
diff --git a/zsh/functions/chpwd_show_todo b/zsh/functions/chpwd_show_todo
index f9cd576..3c9c522 100644
--- a/zsh/functions/chpwd_show_todo
+++ b/zsh/functions/chpwd_show_todo
@@ -1,5 +1,7 @@
# -*- mode: Shell-script -*-
-if [ -e ".todo" ]; then
- todo
+if [ -e ".toudou" ]; then
+ toudou
+elif [ "$PWD" = "$HOME" ]; then
+ toudou -g
fi