show host in prompt

This commit is contained in:
tmont 2014-04-21 09:54:20 -07:00
parent 7a411ffcb4
commit 5cdaaded41

View File

@ -17,7 +17,7 @@ YELLOW="\[\033[1;33m\]"
RESET="\[\033[0m\]"
function set_bash_prompt() {
PS1="$GREEN\u$RESET:$BLUE\w$MAGENTA$(__git_ps1 " (%s)")$YELLOW$RESET "
PS1="$GREEN\u@\h$RESET:$BLUE\w$MAGENTA$(__git_ps1 " (%s)")$YELLOW$RESET "
}
PROMPT_COMMAND=set_bash_prompt