I am using terminator as my terminal. Currently its title always comes prefixed with raj@raj-Lenovo which is my username and host. SO if I cd ~/test. It would show raj@raj-Lenovo ~/test as the title.It makes it difficult to read the entire title when I alt+Tab. Is there anyway to change the prefix permanently? It would just show ~/test. I couldnt find it through GUI.
Asked
Active
Viewed 3,860 times
0
rajeevmaash
- 111
1 Answers
1
Most terminal emulators have an option to set the title bar default text, and it should work for terminator too.
Maybe this what you want?
PROMPT_COMMAND='echo -en "\033]0; $("pwd") \a"'
It should change the title automatically even when you add new tab. See this link
and if it works you can modify the Exec line in the corresponding desktop file.
sudodus
- 47,684