Can I enable zsh to complete path/filenames in a shell argument such as
command -file=/
I do get path/filename completion when I do file=/<TAB> without a dash
This is possible at least on Debian with bash completion is it possible with zsh?
enable magicequalsubst
setopt magicequalsubst
zsh -f -> autoload -Uz compinit; compinit; setopt magicequalsubst. a completer for an command could possibly mess that up but since your example is command, who knows.
zsh -f initialize a new clean shell and pop autoload -Uz compinit; compinit; setopt magicequalsubst but command -file=/<TAB> won't complete.
unsetopt alwayslastprompt it does what I want after reading: zsh.org/mla/users/2005/msg00895.html but also breaks/disables menu completion.
command. Autocompletion of arguments can be variable by command.