From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8204 invoked by alias); 22 Aug 2013 14:55:12 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17943 Received: (qmail 18282 invoked from network); 22 Aug 2013 14:54:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <130822075444.ZM1571@torch.brasslantern.com> Date: Thu, 22 Aug 2013 07:54:44 -0700 In-reply-to: <130822073232.ZM1502@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: Giving "ls" an alias causing completion problems" (Aug 22, 7:32am) References: <130822073232.ZM1502@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Ismail Donmez , zsh-users@zsh.org Subject: Re: Giving "ls" an alias causing completion problems MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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.