mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 20:54:34 +00:00
Use ASCII only for error prompt in TTY
This commit is contained in:
parent
15bce217da
commit
b906b71912
|
@ -77,6 +77,10 @@ PS1+=" $PURPLE%(!.#.»)$RESET " # Final symbol (# or »)
|
|||
PS2="$RED\ $RESET"
|
||||
|
||||
# Right side prompt (on error)
|
||||
RPS1="%(?..$RED%? ↵$RESET)"
|
||||
if [ $TERM = "linux" ]; then
|
||||
RPS1="%(?..$RED%? X$RESET)"
|
||||
else
|
||||
RPS1="%(?..$RED%? ↵$RESET)"
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue