mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 12:11:20 -03:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user