From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28716 invoked by alias); 30 Jul 2010 04:18:48 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28108 Received: (qmail 15420 invoked from network); 30 Jul 2010 04:18:46 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.213.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:mime-version :message-id:in-reply-to:references:date:to:from:subject:content-type; bh=x9M0J1BgyWVFEDtFa0RIO8cSgHfVk3CV4Hx/O4KB26s=; b=DRsHO5TL6RBK2x6LxG/65DAeXeKvsLz1+iOWHvvs250ssu4w0U/X8lrykXeYxccaVY LBJnW/5QX7k0zomndd8buH/v9hgQlGoWxH86AlIxdmj3bFd2BhhE+sg+VuoEZBBiGCWg aKQIBrRr7FUFiMavi4juj/j4TIsHV8siikajc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:mime-version:message-id:in-reply-to:references:date:to:from :subject:content-type; b=se3fJJyRe+Q8nhHTXOPaMSaETe/icET6ksO87xwiBXh5siw/zpIb5yN/74uDfqt/cp 5sfotvzMXZukrcwkTg++3Qyej6wEJr6TnnOarX3HWSHev8dIqCSfknvXTB2CF656JkEv IlMSW+jPkHu8AiSsyrxoB8F4EvOch1Sn+uKvM= Sender: Dave Yost Mime-Version: 1.0 Message-Id: In-Reply-To: <20100729203749.GA21812@sverige> References: <20100729203749.GA21812@sverige> Date: Thu, 29 Jul 2010 19:16:19 -0700 To: zsh-workers@zsh.org From: Dave Yost Subject: Re: RFE: DIR_PUSHD Content-Type: text/plain; charset="us-ascii" At 8:37 PM +0000 2010-07-29, Paul Ackersviller wrote: >On Thu, Jul 29, 2010 at 12:25:23PM -0700, Dave Yost wrote: >> AUTO_CD is nice, but I find it would usually be better if >> "executing" a directory would instead pushd to that directory. >> >> The obvious name for such an option would be AUTO_PUSHD, but that >> name is already in use for something else. > >Perhaps I'm missing something, but does AUTO_PUSHD in conjunction with >AUTO_CD not already do what you want? That's what I always set, and I'm >a happy pushd-er. If I set both AUTO_CD and AUTO_PUSHD, then 1. If I execute a dir, zsh will pushd to that dir, so far, so good. 2. If I say "cd /tmp", zsh will pushd to /tmp, not desired behavior I want only #1