mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +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)
|
||||
if [ $TERM = "linux" ]; then
|
||||
RPS1="%(?..$RED%? X$RESET)"
|
||||
else
|
||||
RPS1="%(?..$RED%? ↵$RESET)"
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue