Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

how to make zsh tab-complete path after colon (instead of just `=`)



I have the same question as many others, see
https://stackoverflow.com/questions/40194030/make-zsh-tab-complete-path-after-colon
and https://unix.stackexchange.com/questions/445889/use-colon-as-filename-separator-in-zsh-tab-completion


is it possible make zsh complete filenames after a colon (instead of
just after `=`) ?
t foo=/tm<TAB> autocomples with /tmp
t foo:/tm<TAB> doesn't do any autocomplete

(IIRC  in bash COMP_WORDBREAKS can be used for that)
I don't want to specify this rule for every single command, I want it
to apply to all commands by default



Messages sorted by: Reverse Date, Date, Thread, Author