mirror of
https://github.com/sbrl/bin.git
synced 2018-01-10 21:33:46 +00:00
Changed prompt to include fqdn instead of hostname
This commit is contained in:
parent
d2c507ce34
commit
2f681a2563
1 changed files with 3 additions and 3 deletions
6
.bashrc
6
.bashrc
|
@ -56,10 +56,10 @@ if [ -n "$force_color_prompt" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
|
||||
# https://help.ubuntu.com/community/CustomizingBashPrompt
|
||||
# Was [01;32m;
|
||||
if [ "$color_prompt" = yes ]; then
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u@\H\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
else
|
||||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue