aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/man.fish
diff options
context:
space:
mode:
authorGravatar sra <sra@voltalis.com>2013-10-03 11:46:58 +0200
committerGravatar sra <sra@voltalis.com>2013-10-03 11:46:58 +0200
commit0efa211a05841c3ceb2f3012bdeb6cc0633842a1 (patch)
tree49656c871488c01c702e35f226b92e90b4710543 /share/functions/man.fish
parent00a890c8c7f03fd1a7aaeddec09cfa48020f0ad7 (diff)
Use manpath instead of man --path in man.fish function (as in commit
c7941fc).
Diffstat (limited to 'share/functions/man.fish')
-rw-r--r--share/functions/man.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/man.fish b/share/functions/man.fish
index cb11d655..2b9bab51 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