From 37f5dcb0353df72699ca904081fe4ff39ff653dd Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Tue, 8 Dec 2020 01:37:52 +0100 Subject: [PATCH] feat(bash): set iTerm2 cursor shape to underline --- roles/bash/files/profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/bash/files/profile b/roles/bash/files/profile index a645e67..eab4601 100644 --- a/roles/bash/files/profile +++ b/roles/bash/files/profile @@ -311,6 +311,9 @@ _set_iterm2_colors() { # 1: foreground, 2: background, 3: cursor curbg $cursor link $Cyan_RGB EOL + _osc_start + printf "1337;CursorShape=2" # set cursor shape to underline + _osc_end } # Documentation for xterm at https://www.xfree86.org/4.8.0/ctlseqs.html