Open opening finder window

finderterminalzsh

I use zsh. For some reason, with zsh, when I type open <TAB> (which should list the files to autocompletion), it opens Finder in the current folder.

I don't have anything aliased for that. I didn't change any config recently. I don't have any idea about why this is happening. Bash works, though.

Any ideas on how can I fix or debug that?

Best Answer

I can not reproduce this issue, so it should not happen by default. TAB works as expected in zsh (as in bash). What version of OSX are you using? This is in a standard terminal window right? Do you have something in your .zshrc file relating to custom completion settings?

Try deleting your .zshrc file and run the zsh shell again,

mv .zshrc .zshrc.old
zsh

This should fix your issue.