Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: $_tty is gone after system upgrade
- X-seq: zsh-users 28128
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: $_tty is gone after system upgrade
- Date: Sun, 25 Sep 2022 08:51:44 -0700
- Archived-at: <https://zsh.org/users/28128>
- In-reply-to: <CAN=4vMq8_GtRLTuXKSPwPNuAb8usDs=DNSqBujxwhH8xbsc-uA@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <34ffd90d-24f5-25b0-7b47-188c63e52cef@eastlink.ca> <CAN=4vMq8_GtRLTuXKSPwPNuAb8usDs=DNSqBujxwhH8xbsc-uA@mail.gmail.com>
On 2022-09-25 08:42, Roman Perepelitsa wrote:
I don't recall any version of zsh setting _tty. Debian 9 doesn't set it either.
Ah! Dumb question, it was my own variable. I have this:
if [[ $TERM == 'xterm' ]]; then
_tty="${TTY#/dev/pts/}"
... but what's changed is the $TERM used to be "xterm" but is now
"xterm-256color" so that's where the problem is. Easy to fix.
Do we have some way of erasing a question entirely from the site? A
question like this one shouldn't even have been asked, it's just
pollution. Thanks Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author