fisher/functions/__fisher_help_guides.fish
Jorge Bucaran 81045ae342 Add new __fisher_help_* functions.
Split help command functionality into individual functions
for cosistent with the way other commands are structured,
and improve tab completion times by skipping the overhead
of calling fisher_help directly.
2016-02-16 17:43:13 +09:00

5 lines
164 B
Fish

function __fisher_help_guides
sed -nE 's/(fisher-)?(.+)\([0-9]\) -- (.+)/\2;\3/p' \
{$fisher_home,$fisher_config}/man/man{5,7}/fisher*.md | sort -r
end