Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Giving "ls" an alias causing completion problems
- X-seq: zsh-users 17944
- From: İsmail Dönmez <ismail@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Giving "ls" an alias causing completion problems
- Date: Fri, 23 Aug 2013 13:37:53 +0300
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=donmez.ws; s=www; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=f/zP8cmo42blazPl285mI+tIWEcUSTwLmQqm+zP2o+Q=; b=gQLEIkq2C2EqKFNAuDBaTTHiQxOmaLfZyUKmNPDY4nVJnj7RD4lTwwK193nw/D1+d4 j1cvx2HngnTYz7+mulIVR0nuNHMzfpU4xaThzWtfiK6QSFGdvQAcUeoi+CF8NGDCLr5a f7g/3DQKJp2F+oiMKoka9sL3vl0kP0QT6rNGg=
- In-reply-to: <130822075444.ZM1571@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAJ1KOAhB6Crfq2VDL_eNzYpd=4nTKEfYaAXxu2SRRdEqEqXM1A@mail.gmail.com> <130822073232.ZM1502@torch.brasslantern.com> <130822075444.ZM1571@torch.brasslantern.com>
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