How do I get gnometerm to display the machine I'm connected to?
SuSE 9.3, Blackbox WM, Gnometerm 2.10.0
I use GnomeTerm to connect to 20 different servers in a day's work. Some of these servers will display the server name and pwd in the tab: dthacker@fooserver:/usr/local/foo Others will not: dthacker@dthacker~ I think this is an interactions between Gnometerm and bash on the system I'm connecting too. Does anyone know what variable I need to set to get all the tabs to display the hostname in all the tabs? TIA Dave :Pengy: |
This is a matter of playing with the PS1 variable on each of the machines. Using your first example, you would add/modify the following to each machines ~/.bashrc file:
Code:
# user@host:pwd$ Code:
source .bashrc |
I've set my PS1 like this on the target machine:
Code:
export PS1="[\u@\h]: \w\n$?> " TIA Dave |
All times are GMT -5. The time now is 11:15 PM. |