[clug] Programmable title
bryan at netspeed.com.au
Fri Oct 17 06:24:46 MDT 2014
I have the following in the config.fish file.
echo $_ 'shell '
tty | cut -c 6-8
echo ' on line '
echo (tty) | cut -c 10-
So the terminal window title reads as follows.
"fish shell pts on line 0"
I would like that to substitute instead of "pts" rather "pseudo terminal".
In the case of being a "tty", then I'd like the title to say "terminal"
More information about the linux