From db5eebd37240adb5fed785a39b79585a78489c8d Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Wed, 13 Feb 2013 14:44:10 -0800 Subject: [PATCH] Add function for fish_indent so that it does not need to be in PATH, in preparation for making fish no longer need to set PATH --- share/functions/fish_indent.fish | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 share/functions/fish_indent.fish diff --git a/share/functions/fish_indent.fish b/share/functions/fish_indent.fish new file mode 100644 index 000000000..ee58a46cb --- /dev/null +++ b/share/functions/fish_indent.fish @@ -0,0 +1,4 @@ +function fish_indent --description 'Indenter and prettifier for fish code' + # This is wrapped in a function so that fish_indent does not need to be found in PATH + eval $__fish_bin_dir/fish_indent $argv +end