mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Teach fish_print_commands how to use __fish_datadir
This commit is contained in:
parent
fed352653d
commit
fb8f16373f
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
function __fish_print_commands --description "Print a list of documented fish commands"
|
function __fish_print_commands --description "Print a list of documented fish commands"
|
||||||
if test -d $__fish_datadir/man/man1/
|
if test -d $__fish_datadir/man/man1/
|
||||||
find /usr/share/fish/man/man1/ -type f -name \*.1 -execdir basename '{}' .1 ';'
|
find $__fish_datadir/man/man1/ -type f -name \*.1 -execdir basename '{}' .1 ';'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue