Skip to content
Browse files

use FQDN not hostname in $PS1

  • Loading branch information...
1 parent ab11023 commit 7de814a638c78e15e0fc242e27cb08808da1e7ff @gdsmith committed May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 .bashrc
View
2 .bashrc
@@ -63,7 +63,7 @@ fi
if [ "$color_prompt" = yes ]; then
#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
- PS1="${debian_chroot:+($debian_chroot)}\[\033[00m\]\n\[\033[0;30;47m\] ▶ \[\033[0;32;40m\] \u@\h\[\033[0;37;40m\]:\[\033[0;34;40m\]\w \[\033[0;30;47m\] $ \[\033[00m\] "
+ PS1="${debian_chroot:+($debian_chroot)}\[\033[00m\]\n\[\033[0;30;47m\] ▶ \[\033[0;32;40m\] \u@\H\[\033[0;37;40m\]:\[\033[0;34;40m\]\w \[\033[0;30;47m\] $ \[\033[00m\] "
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi

0 comments on commit 7de814a

Please sign in to comment.
Something went wrong with that request. Please try again.