Terminal OSX Lion used for ssh/scp to different servers. Sometimes I for no reason changed:
iphone:~ user$ echo $PS1
iphone:~ user$ hostname
iphone:~ user$ echo $HOSTNAME
At the same time, in other tabs of the terminal, on the same machine, the I remains the same:
MacBookAir:~ user$ echo $HOSTNAME
How and who can do it? Why only one tab? Why iphone.mshome.net? Probably, it is connected with the change of wi-fi hotspots. Google found no answer, help me understand.