diff --git a/roles/home-cli/files/bash_profile b/roles/home-cli/files/bash_profile index 1694a72..dd02ffe 100644 --- a/roles/home-cli/files/bash_profile +++ b/roles/home-cli/files/bash_profile @@ -91,6 +91,9 @@ then bindkey "^[OB" history-beginning-search-forward PS1="%B%n@%m%#%b " +else + # POSIX-compatible prompt. + PS1="$(id -un)@$(uname -n | sed 's/\..*$//')$ " fi _acp_add_path () {