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