Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Global-alias problem with _expand
- X-seq: zsh-workers 12939
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Global-alias problem with _expand
- Date: Tue, 10 Oct 2000 10:13:15 +0200 (MET DST)
- In-reply-to: Wayne Davison's message of Mon, 9 Oct 2000 09:17:51 -0700 (PDT)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Wayne Davison wrote:
> Global aliases can cause a problem in the _expand completer:
>
> % zsh -f
>
> % autoload -U compinit
> % compinit
> % zstyle ':completion:*' completer _expand
> % alias -g T='|tail'
> % l T<TAB>
> _expand:-1: parse error near `|'
Rats. Look:
% alias -g 'T=|foo'
% eval 'exp=( T )'
zsh: parse error near `|'
Anyone know how to avoid that?
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author