fish-shell/share
Aaron Gyes 4c34ba9959 Make fish_indent less spooky
Don't wrap fish_indent at all if the version in $PATH matches
$FISH_VERSION.

When we do wrap it, resolve the path once, and use that via alias
machinery instead of doing an eval each time.

In both cases, `type fish_indent` can tell us what it's actually going
to do now.

clarity aside, it's faster if we only eval the one time.
eval is not only evil, but slow.

> for h in $history[1..100]; echo $h | fish_indent --no-indent; end

before: CMD_DURATION = 1005
if fish_indent is kosher in PATH: 549
if not, using alias: 687
2016-09-23 07:59:45 -07:00
..
completions update and correct cygport completions (#3392) 2016-09-19 23:25:55 +02:00
functions Make fish_indent less spooky 2016-09-23 07:59:45 -07:00
tools alter history sub-command handling 2016-09-18 20:09:06 -07:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish Update pager colors, tweak pager.cpp 2016-09-11 03:04:53 -07:00