1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 17:20:25 +02:00

users/18860: man -M overrides manpath

This commit is contained in:
Peter Stephenson 2014-05-29 21:39:02 +01:00
parent 1cc3424cbe
commit 5554cf8244
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2014-05-29 Peter Stephenson <p.w.stephenson@ntlworld.com> 2014-05-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Keerthan Jai: users/18860: Completion/Unix/Command/_man: man
-M overrides manpath.
* unposted: Src/params.c: use DIGBUFSIZE for pipestatus numeric * unposted: Src/params.c: use DIGBUFSIZE for pipestatus numeric
buffer. buffer.

View file

@ -29,7 +29,7 @@ _man() {
if (( index )); then if (( index )); then
local opt local opt
opt=$words[index+1] opt=$words[index+1]
_manpath=($_manpath $opt) _manpath=($opt)
fi fi
# `sman' is the SGML manual directory for Solaris 7. # `sman' is the SGML manual directory for Solaris 7.