aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_cursor_xterm.fish
diff options
context:
space:
mode:
authorGravatar Maxim Gonchar <gmaxfl@gmail.com>2014-01-20 17:03:46 +0400
committerGravatar Maxim Gonchar <gmaxfl@gmail.com>2014-01-20 17:03:46 +0400
commit1514ab8ec5e4d7effe5639bf51b04b1e1f97b1b0 (patch)
tree8966fdde67b605c34746a6083b06bd2af86306dd /share/functions/__fish_cursor_xterm.fish
parent35919000709c00274f2fbb56db2f2924585edd05 (diff)
Retab
Diffstat (limited to 'share/functions/__fish_cursor_xterm.fish')
-rw-r--r--share/functions/__fish_cursor_xterm.fish26
1 files changed, 13 insertions, 13 deletions
diff --git a/share/functions/__fish_cursor_xterm.fish b/share/functions/__fish_cursor_xterm.fish
index 1a0909e8..8a8948b1 100644
--- a/share/functions/__fish_cursor_xterm.fish
+++ b/share/functions/__fish_cursor_xterm.fish
@@ -1,16 +1,16 @@
function __fish_cursor_xterm -d 'Set cursor (xterm)'
- set -l shape $argv[1]
+ set -l shape $argv[1]
- switch "$shape"
- case block
- set shape 2
- case underscore
- set shape 4
- case line
- set shape 6
- end
- if contains blink $argv
- set shape (expr $shape - 1)
- end
- echo -en "\e[$shape q"
+ switch "$shape"
+ case block
+ set shape 2
+ case underscore
+ set shape 4
+ case line
+ set shape 6
+ end
+ if contains blink $argv
+ set shape (expr $shape - 1)
+ end
+ echo -en "\e[$shape q"
end