refactor(bash): avoid messing with syntax highlighting

The backslash character in _osc_end was throwing off syntax highlighting
in vim, so I just use the hex code for \ (0x5c) instead.
This commit is contained in:
Fernando Schauenburg 2020-12-08 01:34:58 +01:00
parent 426f6b7132
commit f154046c0a

View file

@ -239,7 +239,7 @@ _osc_start() {
# requires ST to end its wrapping DCS. # requires ST to end its wrapping DCS.
_osc_end() { _osc_end() {
if [ -n "$TMUX" ]; then if [ -n "$TMUX" ]; then
printf "\a\e\\" printf "\a\e\x5c" # 0x5c == backslash
else else
printf "\a" printf "\a"
fi fi