From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19521 invoked by alias); 19 Nov 2012 21:35:51 -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: 17418 Received: (qmail 7917 invoked from network); 19 Nov 2012 21:35:49 -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: <121119133528.ZM4445@torch.brasslantern.com> Date: Mon, 19 Nov 2012 13:35:28 -0800 In-reply-to: Comments: In reply to zzapper "cd - not expanding to dirs" (Nov 19, 5:43pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: cd - not expanding to dirs MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Nov 19, 5:43pm, zzapper wrote: } } [root@isx01linux03]/var# dirs } /var /etc /var/www/html ~ } } autopushd is set } } but } } cd - does not expand to dirs } } zsh 4.2.6 (x86_64-redhat-linux-gnu) Are you sure you've run "compinit" ? CentOS 5.x (i386 but that shouldn't matter): [schaefer@pip2]~% echo $ZSH_VERSION 4.2.6 [schaefer@pip2]/var/www/htdocs% dirs /var/www/htdocs /etc /var ~ [schaefer@pip2]/var/www/htdocs% setopt autopushd [schaefer@pip2]/var/www/htdocs% cd - 0 -- /home/schaefer 1 -- /var 2 -- /etc (Actually autopushd is irrelevant to the completion.) I see you're running a root shell -- perhaps compaudit objected to something and didn't load the completions, or perhaps the zsh/parameter module is not loaded?