fish_vi_key_bindings: Stop using alias

`alias` is terrible, but the main downside of this is that it shows up
in the output of `alias`, which it shouldn't because the user didn't
define these.
This commit is contained in:
Fabian Boehm
2025-12-16 20:27:47 +01:00
parent 574a8728af
commit 1d3aca2b44

View File

@@ -1,5 +1,10 @@
alias fish_vi_dec 'fish_vi_inc_dec dec'
alias fish_vi_inc 'fish_vi_inc_dec inc'
function fish_vi_dec
fish_vi_inc_dec dec
end
function fish_vi_inc
fish_vi_inc_dec inc
end
# TODO: Currently we do not support hexadecimal and octal values.
function fish_vi_inc_dec --description 'increment or decrement the number below the cursor'