mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 20:54:34 +00:00
Wrap variables in RPS in {}
This commit is contained in:
parent
b0488df402
commit
239300e857
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue