From f4a89b7a25ac9062d8527962f089c978b32d02d4 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sun, 21 Feb 2021 15:20:49 +0000 Subject: [PATCH] Add username to prompt --- roles/home-cli/files/bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index 9b395fd..b97cc3d 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -126,9 +126,9 @@ bind 'set bell-style none' bind 'set completion-ignore-case on' if test $(id -u) -eq 0; then - export PS1="\[\033[01;32m\]\h\[\033[01;31m\]\#\[\033[00m\] " + export PS1="\[\033[01;32m\]\u@\h\[\033[01;31m\]\#\[\033[00m\] " else - export PS1="\[\033[01;32m\]\h\[\033[01;34m\]\$\[\033[00m\] " + export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\]\$\[\033[00m\] " fi alias 7zencrypt="7z a -t7z -p -mhe"