~xdavidwu/dotfiles

f26fdc9f241dd6c0caf8b30214a5df1a00486780 — xdavidwu 2 years ago 1649c9d
bash: ps1: mark escape sequences
1 files changed, 1 insertions(+), 1 deletions(-)

M .bashrc
M .bashrc => .bashrc +1 -1
@@ 220,7 220,7 @@ while [ -n "$LVLSTR" ];do
	esac
	LVLSTR=${LVLSTR#?}
done
PS1="\033]0;$PS1AO\u@\h${STY:+>${STY#*\.}} \w\007$PS1A\[\033[0m\]$PS1"
PS1="\[\033]0;$PS1AO\u@\h${STY:+>${STY#*\.}} \w\007\]$PS1A\[\033[0m\]$PS1"
export PTERM
alias rssh="command ssh"
alias ssh="env TERM=$PTERM ssh"