X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/d95ea66661f1856b71974571a2a2167bd8557440..95cb32f9b6cef714b4a77f2acc3940b5698df6da:/.zsh/zshrc/30_aliases diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index 810b799..67d8351 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -141,4 +141,12 @@ alias btd='btdownloadheadless' alias mdtest='swaks -s localhost -t' +if whence devtodo >/dev/null; then + _devtodo_on_chpwd() { + local out; out="$(devtodo)" + [[ -n $out ]] && print "todo:\n$out" + } + chpwd_functions+=_devtodo_on_chpwd +fi + # vim:ft=zsh