diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 09f3901..d60cd8e 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -146,6 +146,8 @@ curl "https://wttr.in/${1//\ /+}" } export_PS1: | + ## Prompts ## + # Old Trusty #export PS1='[\u@\h \w]\$ ' @@ -157,14 +159,15 @@ ORANGE=`tput setaf 214` GREEN=`tput setaf 2` - RESET=`tput sgr0` - BOLD=`tput bold` - RED=`tput setaf 9` SCARLET=`tput setaf 1` YELLOW=`tput setaf 226` # 11 does not seem to work + GRAY=`tput setaf 8` + RESET=`tput sgr0` + BOLD=`tput bold` + if [[ "$USER" == "root" || $UID == 0 ]]; then CLR_BRACKETS=$BOLD$YELLOW CLR_TIME=$BOLD$ORANGE @@ -180,6 +183,8 @@ fi export PS1='\[$CLR_BRACKETS\][\[$CLR_TIME\]\t \[$CLR_USER\]\u@\h \[$CLR_DIR\]\w\[$CLR_BRACKETS\]]\[$CLR_PROMPT\]\$ \[$RESET\]' export PS2='(>^.^)> ' + + ## End Prompts ## alias_remount: | alias remount=' sudo umount /mnt/*