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

Re: zsh 2.6beta13 aliases quark



snowcat@xxxxxxxxxxxxxxxxxxx wrote:
> After processing the following alias file, some of 1-letter aliases become 
> global. That is, "ls e" prints: emacs: no such file or directory. But "echo e
> "
> just prints e. Note that both "ls" and "e" are aliased
> Could you look into it? 
> ...
> alias ls="ls -aFC $LS_OPTIONS"
> alias e=emacs 

Sorry about the late reply...

Check to see if LS_OPTIONS has a space at the end.  This would be
copied to the end of the ls alias, which would trigger alias expansion
on the next word, giving the effect you observe.

-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.



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