mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
11 lines
305 B
Fish
11 lines
305 B
Fish
set -l dir "$(path dirname -- (status fish-path 2>/dev/null))"
|
|
|
|
if command -v $dir/fish_indent >/dev/null
|
|
function __fish_indent --wraps fish_indent --inherit-variable dir
|
|
$dir/fish_indent $argv
|
|
end
|
|
else
|
|
function __fish_indent --wraps fish_indent
|
|
fish_indent $argv
|
|
end
|
|
end
|