aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_cursor_xterm.fish
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2016-02-03 23:23:59 +0100
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-02-03 23:23:59 +0100
commit158ea98189f6c5c410ea8b58f466a5ef6a8f1a33 (patch)
tree706beb417907de7154c2d6783aaed3519c6d10a0 /share/functions/__fish_cursor_xterm.fish
parent962f9914c61f6ab0e744009cafa56d072bbfc8a6 (diff)
Replace uses of expr with math/string
Diffstat (limited to 'share/functions/__fish_cursor_xterm.fish')
-rw-r--r--share/functions/__fish_cursor_xterm.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_cursor_xterm.fish b/share/functions/__fish_cursor_xterm.fish
index a82be021..c7dd1690 100644
--- a/share/functions/__fish_cursor_xterm.fish
+++ b/share/functions/__fish_cursor_xterm.fish
@@ -10,7 +10,7 @@ function __fish_cursor_xterm -d 'Set cursor (xterm)'
set shape 6
end
if contains blink $argv
- set shape (expr $shape - 1)
+ set shape (math $shape - 1)
end
echo -en "\e[$shape q"
end