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

_expand



I have a more basic problem with _expand than Oliver's.

% bindkey '^i' complete-word
% zstyle ':completion:*' completer _expand _complete
% zstyle ':completion:*' glob 1
% zstyle ':completion:*' substitute 1
% foo=bar
% echo $foo<TAB>
 -> echo $foo _

Where's my bar?  This happens from zsh -f with compinit.

Furthermore,

% echo `echo $foo`<TAB>

gives the error
_expand:30: command not found: echo bar

Same using $(...).

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>



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