Square angles in prompt
This commit is contained in:
parent
66df774356
commit
e75a69b8cb
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue