From d60dd8a0ab1b693c568226b4bb4d57883a516eba Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Thu, 5 Mar 2020 11:14:16 +0100 Subject: [PATCH] Add back user to bash prompt --- roles/bash/files/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bash/files/profile b/roles/bash/files/profile index a7c9b81..0a257e0 100644 --- a/roles/bash/files/profile +++ b/roles/bash/files/profile @@ -134,7 +134,7 @@ __ps1_set() { local ps=() [ $exit -ne 0 ] && ps+=("$PS1_EXIT$exit") - ps+=("$host\h") + ps+=("$host\u@\h") ps+=("$PS1_PWD\w") type __git_ps1 && __git_ps1 '' '' "$PS1_GIT%s" && [ -n "$PS1" ] && ps+=("$PS1") [ -n "$VIRTUAL_ENV" ] && ps+=("$PS1_VENV${VIRTUAL_ENV##*/}")