mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 22:03:12 +00:00
Stop using alias for fish_indent/fish_key_reader
This commit is contained in:
parent
cdf1a94e29
commit
e4f07fe010
2 changed files with 8 additions and 4 deletions
|
@ -2,6 +2,8 @@
|
||||||
# came with this fish. This will happen one time.
|
# came with this fish. This will happen one time.
|
||||||
command -sq fish_indent
|
command -sq fish_indent
|
||||||
and command fish_indent --version 2>&1 | string match -rq $version
|
and command fish_indent --version 2>&1 | string match -rq $version
|
||||||
# if alias doesn't define the function here, this is an autoloaded "nothing".
|
# if we don't define the function here, this is an autoloaded "nothing".
|
||||||
# the command (if there is one) will be used by default.
|
# the command (if there is one) will be used by default.
|
||||||
or alias fish_indent=(string escape $__fish_bin_dir/fish_indent)
|
or function fish_indent
|
||||||
|
$__fish_bin_dir/fish_indent $argv
|
||||||
|
end
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
# came with this fish. This will happen one time.
|
# came with this fish. This will happen one time.
|
||||||
command -sq fish_key_reader
|
command -sq fish_key_reader
|
||||||
and command fish_key_reader --version 2>&1 | string match -rq -- $version
|
and command fish_key_reader --version 2>&1 | string match -rq -- $version
|
||||||
# if alias doesn't define the function here, this is an autoloaded "nothing".
|
# if we don't define the function here, this is an autoloaded "nothing".
|
||||||
# the command (if there is one) will be used by default.
|
# the command (if there is one) will be used by default.
|
||||||
or alias fish_key_reader=(string escape $__fish_bin_dir/fish_key_reader)
|
or function fish_key_reader
|
||||||
|
$__fish_bin_dir/fish_key_reader $argv
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in a new issue