Use manpath instead of man --path in man.fish function (as in commit

c7941fc).
This commit is contained in:
sra 2013-10-03 11:46:58 +02:00
parent 00a890c8c7
commit 0efa211a05

View File

@ -8,7 +8,7 @@ function man --description "Format and display the on-line manual pages"
set -l fish_manpath (dirname $__fish_datadir)/fish/man
if test -d "$fish_manpath"
# Notice local but exported variable
set -lx MANPATH "$fish_manpath":(command man --path)
set -lx MANPATH "$fish_manpath":(command manpath)
# Invoke man with this manpath, and we're done
command man $argv