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

Re: command line tabbing message '_arguments:comparguments:409: not enough arguments'



> 2022/10/04 4:12, Jim <linux.tech.guy@xxxxxxxxx> wrote:
> 
> After login, zsh version 5.8:
>   switching to 5.8.1:  NO MESSAGES   (% zsh-5.8.1)
>   switching from either 5.8 or 5.8.1 to 5.9* GET MESSAGE  (% zsh-5.9 | % zsh-5.9-31-dev)
> 
> After defaulting zsh to locally built version 5.9:
>   switching to the development version  NO MESSAGES  (% zsh-5.9-31-dev)
> 
>   switching back to either  5.8 or 5.8.1:  NEW MESSAGES(see below)
>    in this case tested both the system and locally built 5.8 version

Please try the following:

% /path/to/zsh -f
% autoload -Uz compinit
% compinit
% echo $fpath
% cmd <TAB>

If this works OK then I guess something is wrong with your fpath/FPATH.

When using zsh-$version ($version is 5.9, 5.9.0-dev,..), fpath must include
$prefix/share/zsh/$version/functions/
This is version specific, and it is not a good idea to export FPATH.

If you have 'export FPATH' or such in your .zshrc/.zshenv then just remove it.





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