From 0efa211a05841c3ceb2f3012bdeb6cc0633842a1 Mon Sep 17 00:00:00 2001 From: sra Date: Thu, 3 Oct 2013 11:46:58 +0200 Subject: [PATCH] Use manpath instead of man --path in man.fish function (as in commit c7941fc). --- share/functions/man.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/man.fish b/share/functions/man.fish index cb11d6559..2b9bab517 100644 --- a/share/functions/man.fish +++ b/share/functions/man.fish @@ -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