From f154046c0aee4b7427d827c464267cc5d3fd54a9 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Tue, 8 Dec 2020 01:34:58 +0100 Subject: [PATCH] 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. --- roles/bash/files/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bash/files/profile b/roles/bash/files/profile index 8a2bd29..6da8b41 100644 --- a/roles/bash/files/profile +++ b/roles/bash/files/profile @@ -239,7 +239,7 @@ _osc_start() { # requires ST to end its wrapping DCS. _osc_end() { if [ -n "$TMUX" ]; then - printf "\a\e\\" + printf "\a\e\x5c" # 0x5c == backslash else printf "\a" fi