Wrap variables in RPS in {}

This commit is contained in:
ItsDrike 2021-07-14 15:01:17 +02:00
parent b0488df402
commit 239300e857
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -78,9 +78,8 @@ PS2="$RED\ $RESET"
# Right side prompt (on error)
if [ $TERM = "linux" ]; then
RPS1="%(?..$RED%? X$RESET)"
RPS1="%(?..${RED}%? X$RESET)"
else
RPS1="%(?..$RED%? ↵$RESET)"
RPS1="%(?..${RED}%? ↵$RESET)"
fi