Bash prompt changed in terminal -


suddendly bash prompt changed

[80-254-70-241]myusername @ ~ $

when in home directory.

i have following command in .bash_profile export ps1="\[\033[32m\][\h]\u @ \w \$\[\033[0m\]

i think expression in square brackets supposed name of current directory.

what number 80-254-70-241 mean , how change back?

the string "80-254-70-241" comes parameter "\h", denotes hostname. think got ip , hostname dhcp prompt changed accordingly.

if think annoying, can replace "\h" preferred hostname (hardcoded).


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -