diff --git a/aliases/functions b/aliases/functions index 6f6af23..730306b 100644 --- a/aliases/functions +++ b/aliases/functions @@ -50,11 +50,8 @@ cd(){ if [ -e ".zin" ]; then . ".zin" fi - todo } - - #}}} ################################################################################# diff --git a/modules/todo/init b/modules/todo/init index ce50e80..0b2843a 100644 --- a/modules/todo/init +++ b/modules/todo/init @@ -8,6 +8,7 @@ if command -v todo >/dev/null; then fi todo ${=file} -f +${1:-high} | wc -l } + chpwd_hook todo else todo_count() { echo -1