Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
$_tty is gone after system upgrade
- X-seq: zsh-users 28126
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: $_tty is gone after system upgrade
- Date: Sun, 25 Sep 2022 08:32:18 -0700
- Archived-at: <https://zsh.org/users/28126>
- List-id: <zsh-users.zsh.org>
I'm upgrading my system from Debian 9 to Debian 11 and my zsh is now
whatever Debian installed (vs. old system where I was running Roman's
pre-build). Prompt is:
PS1=$'\n$_tty $_yel%d $_mag$cc$_nrm $ '
... which returned just the number of the current terminal on the old
system but now
$ echo $_tty
... returns nothing.
$ echo $TTY
... shows " /dev/pts/3 " and of course I can strip that down to just the
number, but still it seems strange that " $_tty " is gone. What's the
story?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author