diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2016-02-03 23:23:59 +0100 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2016-02-03 23:23:59 +0100 |
commit | 158ea98189f6c5c410ea8b58f466a5ef6a8f1a33 (patch) | |
tree | 706beb417907de7154c2d6783aaed3519c6d10a0 /share/functions/__fish_cursor_xterm.fish | |
parent | 962f9914c61f6ab0e744009cafa56d072bbfc8a6 (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.fish | 2 |
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 |