diff options
Diffstat (limited to 'base/zsh')
-rw-r--r-- | base/zsh/functions.zsh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/base/zsh/functions.zsh b/base/zsh/functions.zsh index d2905ad..c768d2d 100644 --- a/base/zsh/functions.zsh +++ b/base/zsh/functions.zsh @@ -1,8 +1,5 @@ function todo { - a="" - for i; do a="$a,$i"; done - a="{$(echo "$a" | cut -d',' -f2-)}" - echo "grep -R --exclude-dir=$a TODO | sed -e 's/.*TODO //;s/ \*\/$//;s/ -->//' | LC_ALL=C sort -u" | zsh + echo "ack TODO $@ | sed -e 's/.*TODO //;s/ \*\/$//;s/ -->//' | LC_ALL=C sort -u" | zsh } function which { |