summaryrefslogtreecommitdiff
path: root/02_Functions.zsh
diff options
context:
space:
mode:
Diffstat (limited to '02_Functions.zsh')
-rw-r--r--02_Functions.zsh2
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