From: "Lawrence Velázquez" <vq@larryv.me>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Andrew Janke <janke@pobox.com>, zsh-workers@zsh.org
Subject: Re: FAQ title bar answer using chpwd()
Date: Thu, 12 Mar 2015 20:39:19 -0400 [thread overview]
Message-ID: <4B245B25-5D5A-451B-BFC9-7A0684CAEB86@larryv.me> (raw)
In-Reply-To: <150306232024.ZM12511@torch.brasslantern.com>
On Mar 7, 2015, at 2:20 AM, Bart Schaefer <schaefer@brasslantern.com> 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
prev parent reply other threads:[~2015-03-13 0:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-07 3:40 Andrew Janke
2015-03-07 4:19 ` Daniel Shahaf
2015-03-07 7:33 ` Bart Schaefer
2015-03-07 7:20 ` Bart Schaefer
2015-03-13 0:39 ` Lawrence Velázquez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B245B25-5D5A-451B-BFC9-7A0684CAEB86@larryv.me \
--to=vq@larryv.me \
--cc=janke@pobox.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).