From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8933 invoked by alias); 23 Aug 2013 10:38:27 -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: 17944 Received: (qmail 27605 invoked from network); 23 Aug 2013 10:38:22 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.220.176 as permitted sender) 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= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=f/zP8cmo42blazPl285mI+tIWEcUSTwLmQqm+zP2o+Q=; b=eMIYqmaR1TM6bWWi/1aCr6rHrb8htTxl1GK5yGf1kTh0h6FXqce/EzUihQBpQ+CbAx qZwTpndvvKxBKuBpCFZc7Db5wrs7YlTMXsdd7tU0RInpmwdpebsT+Ag/7rV2gbJPitCb kH3kunrax20llyUl5VeeGMEPsgbLQTpPml8VN0rWG7NsvO/+Fd8vte08ggBzbNAkbosu EKoPgKqT9VWgyLBomMSd9m2T+xy15NiwP2TGKhjSSHrvuVF2ymRBmdsJhu0oO9TbT6Aq DDt9M3+ehkSbos7yPfMB1LGXwOF5qlOt42XK+05wuu+4Z8bfTR/+Wid8U3444aWGx5mg xfYg== X-Gm-Message-State: ALoCoQkJNXY/eSZcbm5udbm4XtNf6x2rKJh5TSoeKRzyDPDxk1J6lcx8eI02jfQa+9y6+64CYRiu X-Received: by 10.58.152.3 with SMTP id uu3mr15956225veb.16.1377254293692; Fri, 23 Aug 2013 03:38:13 -0700 (PDT) MIME-Version: 1.0 X-Originating-IP: [78.183.83.95] In-Reply-To: <130822075444.ZM1571@torch.brasslantern.com> References: <130822073232.ZM1502@torch.brasslantern.com> <130822075444.ZM1571@torch.brasslantern.com> From: =?UTF-8?B?xLBzbWFpbCBEw7ZubWV6?= Date: Fri, 23 Aug 2013 13:37:53 +0300 Message-ID: Subject: Re: Giving "ls" an alias causing completion problems To: Bart Schaefer Cc: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=047d7b86f532f0f53604e49b0050 --047d7b86f532f0f53604e49b0050 Content-Type: text/plain; charset=UTF-8 Hi, On Thu, Aug 22, 2013 at 5:54 PM, Bart Schaefer 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! --047d7b86f532f0f53604e49b0050--