mirror of https://github.com/jorgebucaran/fisher
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
406 B
Fish
21 lines
406 B
Fish
9 years ago
|
function __fisher_help_commands
|
||
|
for i in (functions -a | grep -E '^fisher_[^_]+$')
|
||
|
functions $i | awk '
|
||
|
|
||
|
/^$/ { next } {
|
||
|
printf("%s;", substr($2, 8))
|
||
|
|
||
|
gsub("\'", "")
|
||
|
|
||
|
for (i = 4; i <= NF && $i !~ /^--.*/; i++) {
|
||
|
printf("%s ", $i)
|
||
|
}
|
||
|
|
||
|
print ""
|
||
|
exit
|
||
|
}
|
||
|
|
||
|
'
|
||
|
end
|
||
|
end
|