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:
parent
426f6b7132
commit
f154046c0a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue