From: Bart Schaefer <schaefer@brasslantern.com>
To: Ismail Donmez <ismail@donmez.ws>, zsh-users@zsh.org
Subject: Re: Giving "ls" an alias causing completion problems
Date: Thu, 22 Aug 2013 07:54:44 -0700 [thread overview]
Message-ID: <130822075444.ZM1571@torch.brasslantern.com> (raw)
In-Reply-To: <130822073232.ZM1502@torch.brasslantern.com>
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?
That function name will conflict with the name of the completion function
used for "ls" completions. Names starting with a single underscore are
assumed to be "reserved" for the completion system.
In fact ...
torch% _ls() { ls }
torch% ls Config config.log config.modules.sh Doc Makefile
stamp-h
config.h config.modules config.status Etc Src Test
torch%
Yep, that's almost certainly what's going on here.
next prev parent reply other threads:[~2013-08-22 14:55 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 [this message]
2013-08-23 10:37 ` İsmail Dönmez
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=130822075444.ZM1571@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=ismail@donmez.ws \
--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).