[clug] Programmable title
Bryan Kilgallin
bryan at netspeed.com.au
Fri Oct 17 07:34:47 MDT 2014
The following works (in the fish shell configuration file). I have
tested it by substituting "xyz" instead of "pts", to simulate the
terminal type being "tty".
function fish_title
echo $_ 'shell'
if test (tty | cut -c 6-8) = 'pts'
echo ' pseudo'
end
echo ' terminal on line '
echo (tty) | cut -c 10-
end
Can anyone advise me how to open a shell terminal using a "tty" type
session, as opposed to the usual "pts"? I noticed that the Links2 Web
browser opened a "tty" type session.
--
www.netspeed.com.au/bryan/
More information about the linux
mailing list