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

Re: Giving "ls" an alias causing completion problems



Hi,


On Thu, Aug 22, 2013 at 5:54 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>wrote:

> Hang on a moment ...
>
> On Aug 22,  7:32am, Bart Schaefer wrote:
> }
> } On Aug 22,  1:31pm, Ismail Donmez wrote:
> } }
> } } [~]> alias ls
> } } ls=_ls
> }
> } You say "not aliased" but this sample makes it appear that ls *has*
> } been aliased, possibly to the completion function for itself.
>
> Do you actually have a function named "_ls" that is defined in your
> zsh startup files?
>

Yep that was it, a file under /etc/profile.d was setting up a function
named _ls and aliasing it to ls. Renamed it to z_ls and problem fixed.

Thanks  a lot!


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