Reputation: 778
How do I fix this? I don't want to change my server name I just want to customize the text here (no server name, still shows path/user). Also what's this section of the terminal window called?
Upvotes: 0
Views: 186
Reputation: 778
The Terminal Entry line prefix is called the shell prompt.
You can generally find the current config by typing
echo $PS1
That returned this for me: [\e]0;\u@^C\w\a]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
So I was able to remove the "@\h" in both locations and get the desired tag.
export PS1="\[\e]0;\u: \w\a\]${debian_chroot:+($debian_chroot)}\u:\w\$ "
leaving me with "root:/kliq$'
Upvotes: 1