Autocomplete files for program arguments in Zsh
My question is similar to http://stackoverflow.com/questions/3970688/zsh-to-auto-complete-directories-in-command-line-arguments but I could not find the answer.

In zsh, I want to run some command:

./run_something -arg1=/path/to/files

I would like to type -arg1=/ and then TAB, hoping that it would complete with the directory. But it seems that zsh understand that "-arg1=/" is the beginning of a file name, and then saying something like "no matches found".

Thanks a lot in advance.
Autocomplete files for program arguments in Zsh
===

My question is similar to http://stackoverflow.com/questions/3970688/zsh-to-auto-complete-directories-in-command-line-arguments but I could not find the answer.

In zsh, I want to run some command:

./run_something -arg1=/path/to/files

I would like to type -arg1=/ and then TAB, hoping that it would complete with the directory. But it seems that zsh understand that "-arg1=/" is the beginning of a file name, and then saying something like "no matches found".

Thanks a lot in advance.