2016-11-05 02:08:48 +00:00
|
|
|
# check if command fish_indent works and is the same version that
|
2016-09-23 13:17:17 +00:00
|
|
|
# came with this fish. This will happen one time.
|
2017-02-13 16:30:38 +00:00
|
|
|
command -sq fish_indent
|
2017-10-14 15:29:16 +00:00
|
|
|
and command fish_indent --version 2>&1 | string match -rq $version
|
2016-09-23 13:17:17 +00:00
|
|
|
# if alias doesn't define the function here, this is an autoloaded "nothing".
|
|
|
|
# the command (if there is one) will be used by default.
|
2016-11-05 02:08:48 +00:00
|
|
|
or alias fish_indent=(string escape $__fish_bin_dir/fish_indent)
|