]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/functions/task-quote-magic
zsh: add todo to recursively check for task aliases in task-quote-magic
[dotfiles.git] / zsh / functions / task-quote-magic
index 16294c4150d52c9067a70f436cb73b0673b1e6df..415c7d13f9ced6e474c252953494e1942a96ec10 100644 (file)
@@ -26,8 +26,9 @@
 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;