mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-30 00:15:22 +08:00
man: Remove useless dirname call
This removed "/fish" just to add it back.
This commit is contained in:
parent
3ac2242c68
commit
2cfb4343ed
@ -31,7 +31,7 @@ function man --description "Format and display the on-line manual pages"
|
||||
set -lx MANPATH $manpath
|
||||
|
||||
# Prepend fish's man directory if available.
|
||||
set -l fish_manpath (dirname $__fish_data_dir)/fish/man
|
||||
set -l fish_manpath $__fish_data_dir/man
|
||||
if test -d $fish_manpath
|
||||
set MANPATH $fish_manpath $MANPATH
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user