diff options
Diffstat (limited to 'share/functions/__fish_cursor_konsole.fish')
-rw-r--r-- | share/functions/__fish_cursor_konsole.fish | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/share/functions/__fish_cursor_konsole.fish b/share/functions/__fish_cursor_konsole.fish new file mode 100644 index 00000000..ef7c777b --- /dev/null +++ b/share/functions/__fish_cursor_konsole.fish @@ -0,0 +1,11 @@ +function __fish_cursor_konsole -d 'Set cursor (konsole)' + set -l shape $argv[1] + switch "$shape" + case block + echo -en '\e]50;CursorShape=0\x7' + case underscore + echo -en '\e]50;CursorShape=2\x7' + case line + echo -en '\e]50;CursorShape=1\x7' + end +end |