man: Remove useless dirname call

This removed "/fish" just to add it back.
This commit is contained in:
Fabian Homborg 2021-05-13 18:28:13 +02:00
parent 3ac2242c68
commit 2cfb4343ed

View File

@ -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