~xdavidwu/dotfiles

52aad6e575f5e4c60ed29e39999fc264ef3a8523 — xdavidwu 2 years ago d85b0fa
bash: ps1: fix osc 2
1 files changed, 1 insertions(+), 1 deletions(-)

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