[clug] Window title

Bryan Kilgallin (iiNet) kilgallin at iinet.net.au
Sat Sep 16 03:11:15 UTC 2017


At the moment, when the bash shell is active in a terminal window, then 
the title of that window is as follows.

username '@' hostname ":~"

Whereas I have trained the fish shell to instead display this title.

Terminal-type terminal-number "displays the" foreground-program "program 
running on the" hostname "computer."

How can I make bash do that? I presume that would be coded somewhere in 
".bashrc".
-- 
www.netspeed.com.au/bryan/



More information about the linux mailing list