mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +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