diff options
Diffstat (limited to '02_Functions.zsh')
-rw-r--r-- | 02_Functions.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/02_Functions.zsh b/02_Functions.zsh index 50d8b4f..78bf7d3 100644 --- a/02_Functions.zsh +++ b/02_Functions.zsh @@ -51,7 +51,7 @@ when() __cmd_exists todo && \ todo() { - TODO=${=$(whereis -b todo | cut -d: -f2)} + TODO=${=$(which -p todo | cut -d: -f2)} if [ $($TODO $@ | wc -l) -gt 0 ] then __preprint "À faire" $color[yellow] && echo |