bash: make vim syntax highlighting happy

This commit is contained in:
Fernando Schauenburg 2020-12-22 11:51:57 +01:00
parent ef5a647a9a
commit c12dd1c785

View file

@ -253,11 +253,11 @@ alias dark='_update_colors dark'
# Either ST or BEL (\a) can be used to end an OSC sequence. However, tmux # Either ST or BEL (\a) can be used to end an OSC sequence. However, tmux
# requires ST to end its wrapping DCS. # requires ST to end its wrapping DCS.
if [ -n "$TMUX" ]; then if [ -n "$TMUX" ]; then
_OSC=$(printf "\ePtmux;\e\e]") _OSC=$(printf '\ePtmux;\e\e]')
_ST=$(printf "\a\e\\") _ST=$(printf '\a\e\\')
else else
_OSC=$(printf "\e]") _OSC=$(printf '\e]')
_ST=$(printf "\a") _ST=$(printf '\a')
fi fi
_update_colors() { _update_colors() {