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

Re: command not found: _arguments




17.05.2017, 22:09, "Guilherme Furtado Pacheco" <guilherme.f.pacheco@xxxxxxxxx>:
> I'm having trouble with completions for some commands. When I type vim and press tab I get this error:
>
> ➜ ~ vim _vim:101: command not found: _arguments
> _vim:101: command not found: _arguments
> _vim:101: command not found: _arguments
>
> This also happens with other commands (like rm, cp, ls, cat, grep):
>
> ➜ ~ rm _rm:43: command not found: _arguments
> _rm:43: command not found: _arguments
> _rm:43: command not found: _arguments
>
> But not with mv or cd for example.
> One thing I discovered is that I after run zsh everything works just fine, but only for this session. When I open another zsh window I got the error again.
> Looks like the _arguments wrapper function is not being defined.
> Any idea of what could be causing the error or how to solve it?
>
> Guilherme Furtado Pacheco
> +55 48 996177277

I get similar problems after zsh update. Depending on the situation I either just do `exec zsh` (if I have no background jobs to keep) or run something like

    fpath=( ${fpath/5.1.1/5.2} )

(this is for update from 5.1.1 to 5.2).



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