mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
help.fish: fix help for the separate completion page
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
function __fish_print_commands --description "Print a list of documented fish commands"
|
||||
if test -d $__fish_data_dir/man/man1/
|
||||
for file in $__fish_data_dir/man/man1/**.1*
|
||||
string replace -r '.*/' '' -- $file | string replace -r '.1(.gz)?$' ''
|
||||
string replace -r '.*/' '' -- $file |
|
||||
string replace -r '.1(.gz)?$' '' |
|
||||
string match -rv '^fish-(?:completions|doc|tutorial|faq)$'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user