Skip to content

Commit

Permalink
Show full hostname on non-color prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmcdonnell committed Jan 10, 2014
1 parent b5acad6 commit 2199969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _bash_prompt
Expand Up @@ -168,7 +168,7 @@ function prompt_command() {
if [ "$color_prompt" = yes ]; then
PS1="\n${GREEN}${debian_chroot:+($debian_chroot)}$(user_host) ${WHITE}\w$(vir_env) $(git_ps1)"'$(hg_ps1 "yes")'"${CLR}\n\\$ "
else
PS1="\n${debian_chroot:+($debian_chroot)}\u@\h \w$(vir_env) $(git_ps1)"'$(hg_ps1)'"\n\\$ "
PS1="\n${debian_chroot:+($debian_chroot)}\u@\H \w$(vir_env) $(git_ps1)"'$(hg_ps1)'"\n\\$ "
fi
}
PROMPT_COMMAND=prompt_command
Expand Down

0 comments on commit 2199969

Please sign in to comment.