From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6379 invoked by alias); 13 Mar 2015 00:48:04 -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: 34709 Received: (qmail 6976 invoked from network); 13 Mar 2015 00:48:01 -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,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=larryv.me; h= x-sasl-enc:content-type:mime-version:subject:from:in-reply-to :date:cc:content-transfer-encoding:message-id:references:to; s= mesmtp; bh=gzBDaLVzUlpLTwePQLIuUph5c24=; b=hg+o29U/KYepB1iFPR61W 9tEXCnA2SgutrOnoBSXU4u4l9QFuCJ9dWcxYMqCAwQV3MY/c5hk3W/ayTPaOaad4 veZudP5HGFoscrYvP/50CjTKmzvBCvcS4+8fQi4J1zbg4oE8tJA5WxndRmg99aFL OUj/RzNtN03qon3SXsIk0E= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:content-type:mime-version :subject:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; s=smtpout; bh=gzBDaLVzUlpLTwePQLIuUph 5c24=; b=dErzf3XKQrN0i2DY3Li2GfPe9pCKnZScqlAyjWuoPz/MywLYH/q7chO eB8SoqYlRxAyQBwaoJ7mmmVspzwDAd0SBO35RXJznx22+J4TW9ubrRldVFQ7lZ5i g2wgykdyRcLrsRp6NwGPwwb/vwWcL+ZylfiuJ/EJzeU/bRE7ypn0= X-Sasl-enc: aGw7Vk5tF04i3V9r/7OOT5CSL0SKnMDIwWEfM7/kqvGe 1426207160 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: FAQ title bar answer using chpwd() From: =?utf-8?Q?Lawrence_Vel=C3=A1zquez?= In-Reply-To: <150306232024.ZM12511@torch.brasslantern.com> Date: Thu, 12 Mar 2015 20:39:19 -0400 Cc: Andrew Janke , zsh-workers@zsh.org Content-Transfer-Encoding: 7bit Message-Id: <4B245B25-5D5A-451B-BFC9-7A0684CAEB86@larryv.me> References: <54FA731B.8050800@pobox.com> <150306232024.ZM12511@torch.brasslantern.com> To: Bart Schaefer X-Mailer: Apple Mail (2.2070.6) On Mar 7, 2015, at 2:20 AM, Bart Schaefer wrote: > If you've actually examined the FAQ example, you'll see > > [[ -t 1 ]] || return > > which means to do nothing if the standard output is not a terminal. Would the FAQ code clean up properly after executing a subshell that switched directories? It doesn't seem to, in my experiments. % (cd /) vq