mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-26 16:01:15 -03:00
Fix "help printf" on --features=embed-data builds
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function __fish_print_commands --description "Print a list of documented fish commands"
|
||||
if test -d $__fish_data_dir/man/man1/
|
||||
if set -q __fish_data_dir[1] && 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)?$' '' |
|
||||
|
||||
Reference in New Issue
Block a user