Square angles in prompt

This commit is contained in:
Thomas Forgione 2019-06-27 14:56:19 +02:00
parent 66df774356
commit e75a69b8cb
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 6 additions and 6 deletions

View File

@ -19,21 +19,21 @@ if [[ $UID -ge 1000 ]]; then # normal user
if [[ -n "$SSH_CLIENT" || -n "$SSH2_CLIENT" ]]; then if [[ -n "$SSH_CLIENT" || -n "$SSH2_CLIENT" ]]; then
eval PR_USER='${PR_GREEN}%n${PR_NO_COLOR}' eval PR_USER='${PR_GREEN}%n${PR_NO_COLOR}'
eval PR_USER_OP='${PR_GREEN}%#${PR_NO_COLOR}' eval PR_USER_OP='${PR_GREEN}%#${PR_NO_COLOR}'
local PR_ARROW_UP='${PR_GREEN}── ${PR_NO_COLOR}' local PR_ARROW_UP='${PR_GREEN}── ${PR_NO_COLOR}'
local PR_ARROW_DOWN='${PR_GREEN}${PR_NO_COLOR}' local PR_ARROW_DOWN='${PR_GREEN}${PR_NO_COLOR}'
local PR_PROMPT='$PR_GREEN▶$PR_NO_COLOR' local PR_PROMPT='$PR_GREEN▶$PR_NO_COLOR'
else else
eval PR_USER='${PR_MAGENTA}%n${PR_NO_COLOR}' eval PR_USER='${PR_MAGENTA}%n${PR_NO_COLOR}'
eval PR_USER_OP='${PR_BLUE}%#${PR_NO_COLOR}' eval PR_USER_OP='${PR_BLUE}%#${PR_NO_COLOR}'
local PR_PROMPT='$PR_MAGENTA▶$PR_NO_COLOR' local PR_PROMPT='$PR_MAGENTA▶$PR_NO_COLOR'
local PR_ARROW_UP='$PR_MAGENTA── ${PR_NO_COLOR}' local PR_ARROW_UP='$PR_MAGENTA── ${PR_NO_COLOR}'
local PR_ARROW_DOWN='$PR_MAGENTA${PR_NO_COLOR}' local PR_ARROW_DOWN='$PR_MAGENTA${PR_NO_COLOR}'
fi fi
elif [[ $UID -eq 0 ]]; then # root elif [[ $UID -eq 0 ]]; then # root
eval PR_USER='${PR_RED}%n${PR_NO_COLOR}' eval PR_USER='${PR_RED}%n${PR_NO_COLOR}'
eval PR_USER_OP='${PR_RED}%#${PR_NO_COLOR}' eval PR_USER_OP='${PR_RED}%#${PR_NO_COLOR}'
local PR_ARROW_UP='${PR_RED}── ${PR_NO_COLOR}' local PR_ARROW_UP='${PR_RED}── ${PR_NO_COLOR}'
local PR_ARROW_DOWN='${PR_RED}${PR_NO_COLOR}' local PR_ARROW_DOWN='${PR_RED}${PR_NO_COLOR}'
local PR_PROMPT='$PR_RED▶$PR_NO_COLOR' local PR_PROMPT='$PR_RED▶$PR_NO_COLOR'
fi fi