My environment variable is gone when my terminal change from XXX@bogon to XXX@localhost

434 Views Asked by At

I am a new user for macbook,my environment variable is gone when my terminal input change from XXX@bogon to XXX@localhost, the terminal I am using is iTerm2 but I don't think it matter. The question is how I change XXX@localhost to XXX@bogon? Or how I get my environment variable? Besize, I click the menu named "New Window (Default Profile)" iTerm2, then my terminal becomes XXX@MacBook-Pro.

0

There are 0 best solutions below