zsh-users
 help / color / mirror / code / Atom feed
* $_tty is gone after system upgrade
@ 2022-09-25 15:32 Ray Andrews
  2022-09-25 15:42 ` Roman Perepelitsa
  0 siblings, 1 reply; 4+ messages in thread
From: Ray Andrews @ 2022-09-25 15:32 UTC (permalink / raw)
  To: Zsh Users

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?



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-25 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-25 15:32 $_tty is gone after system upgrade Ray Andrews
2022-09-25 15:42 ` Roman Perepelitsa
2022-09-25 15:51   ` Ray Andrews
2022-09-25 17:09     ` Peter Stephenson

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).