conda-incubator / conda-zsh-completion

zsh completion for conda
Do What The F*ck You Want To Public License
377 stars 64 forks source link

Error when mistype subcommand #16

Closed cgjosephlee closed 5 years ago

cgjosephlee commented 5 years ago

conda aa<TAB> should return an error since no subcommand started with aa, but it comes a weird error and ruins the $PROMT.

$ conda aa<TAB>
$ conda aa_main_complete:202: permission denied:
_main_complete:202: permission denied:
conda       conda aa
No matches for: `conda commands'
cgjosephlee commented 5 years ago

Error here?? https://github.com/zsh-users/zsh/blob/master/Completion/Base/Core/_main_complete#L202

piojanu commented 5 years ago

I have it too, have you come up with work around?

esc commented 5 years ago

I can't reproduce this, and I don't think it is an issue with the conda-zsh-completion.

drorata commented 4 years ago

I also had this issue --- killing the terminal and restarting it solved the problem. For the time being.