2016-11-05 02:07:37 +00:00
|
|
|
# check if command fish_key_reader works and is the same version that
|
|
|
|
# came with this fish. This will happen one time.
|
2017-02-13 16:30:38 +00:00
|
|
|
command -sq fish_key_reader
|
2021-09-05 11:46:06 +00:00
|
|
|
and command fish_key_reader --version 2>&1 | string match -rq -- $version
|
2022-10-04 15:01:19 +00:00
|
|
|
# if we don't define the function here, this is an autoloaded "nothing".
|
2016-11-05 02:07:37 +00:00
|
|
|
# the command (if there is one) will be used by default.
|
2022-10-04 15:01:19 +00:00
|
|
|
or function fish_key_reader
|
|
|
|
$__fish_bin_dir/fish_key_reader $argv
|
|
|
|
end
|