X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/442f99c7e99107502b4d3c732f12e538719fbd81..8a83c91bf3cc5773bacc12c802e24d30e7dd58d8:/zsh/functions/task-quote-magic diff --git a/zsh/functions/task-quote-magic b/zsh/functions/task-quote-magic index 9634320..415c7d1 100644 --- a/zsh/functions/task-quote-magic +++ b/zsh/functions/task-quote-magic @@ -26,13 +26,13 @@ local -a reply match mbegin mend zstyle -m ':task-quote-magic:\*' task-seps '*' || - zstyle -e ':task-quote-magic:*' task-seps 'reply=("#{}&<>''${histchars[1]}")' + zstyle -e ':task-quote-magic:*' task-seps 'reply=("#{}\`\"&<>''${histchars[1]}")' +# TODO: recursively check if cmd is an alias of an alias of task zstyle -m ':task-quote-magic' task-cmds '*' || zstyle -e ':task-quote-magic' task-cmds \ 'zmodload -i zsh/parameter; reply=( task - ${(k)galiases[(R)(* |)task( *|)]:-} ${(k)aliases[(R)(* |)task( *|)]:-} )' function task-quote-magic {