mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Teach __fish_print_help.fish about the new man path
This commit is contained in:
parent
27212719dc
commit
ebfa285122
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ function __fish_print_help --description "Print help message for the specified f
|
||||||
set -l sed_cmd -e $cmd1 -e $cmd2 -e $cmd3
|
set -l sed_cmd -e $cmd1 -e $cmd2 -e $cmd3
|
||||||
|
|
||||||
# Render help output, save output into the variable 'help'
|
# Render help output, save output into the variable 'help'
|
||||||
set -l help (nroff -man $__fish_datadir/man/$item.1)
|
set -l help (nroff -man $__fish_datadir/man/man1/$item.1)
|
||||||
set -l lines (count $help)
|
set -l lines (count $help)
|
||||||
|
|
||||||
# Print an empty line first
|
# Print an empty line first
|
||||||
|
|
Loading…
Reference in a new issue