Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: FAQ title bar answer using chpwd()
- X-seq: zsh-workers 34709
- From: Lawrence Velázquez <vq@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: FAQ title bar answer using chpwd()
- Date: Thu, 12 Mar 2015 20:39:19 -0400
- Cc: Andrew Janke <janke@xxxxxxxxx>, zsh-workers@xxxxxxx
- 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=
- In-reply-to: <150306232024.ZM12511@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <54FA731B.8050800@pobox.com> <150306232024.ZM12511@torch.brasslantern.com>
On Mar 7, 2015, at 2:20 AM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author