zsh-users
 help / color / mirror / code / Atom feed
From: "İsmail Dönmez" <ismail@donmez.ws>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@zsh.org
Subject: Re: Giving "ls" an alias causing completion problems
Date: Fri, 23 Aug 2013 13:37:53 +0300	[thread overview]
Message-ID: <CAJ1KOAg6NyCjtcK6QeQs-ZzaQPY1AX5dTPsQ=RGQHkm-MZvaOw@mail.gmail.com> (raw)
In-Reply-To: <130822075444.ZM1571@torch.brasslantern.com>

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

Hi,


On Thu, Aug 22, 2013 at 5:54 PM, Bart Schaefer <schaefer@brasslantern.com>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!

      reply	other threads:[~2013-08-23 10:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-22 10:31 İsmail Dönmez
2013-08-22 14:32 ` Bart Schaefer
2013-08-22 14:54   ` Bart Schaefer
2013-08-23 10:37     ` İsmail Dönmez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ1KOAg6NyCjtcK6QeQs-ZzaQPY1AX5dTPsQ=RGQHkm-MZvaOw@mail.gmail.com' \
    --to=ismail@donmez.ws \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).