mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-04-16 16:22:27 +00:00
Use ASCII only for error prompt in TTY
This commit is contained in:
parent
15bce217da
commit
b906b71912
1 changed files with 5 additions and 1 deletions
|
@ -77,6 +77,10 @@ PS1+=" $PURPLE%(!.#.»)$RESET " # Final symbol (# or »)
|
||||||
PS2="$RED\ $RESET"
|
PS2="$RED\ $RESET"
|
||||||
|
|
||||||
# Right side prompt (on error)
|
# Right side prompt (on error)
|
||||||
RPS1="%(?..$RED%? ↵$RESET)"
|
if [ $TERM = "linux" ]; then
|
||||||
|
RPS1="%(?..$RED%? X$RESET)"
|
||||||
|
else
|
||||||
|
RPS1="%(?..$RED%? ↵$RESET)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue