Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: FAQ title bar answer using chpwd()



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