mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-16 18:43:43 +00:00
[Fix] declare MANPATH if and only if it's not set
By manpath's man page in Ubuntu 16.04: > If $MANPATH is set, manpath will simply display its contents and issue > a warning. By fa22d712ff7367fc0ecc87bbe8801d77303068e3 for #1413, `nvm` now will declare the "MANPATH" variable, no matter if it's set or not, so in the situation that $MANPATH is set, you'll get the warning: > manpath: warning: $MANPATH set, ignoring /etc/manpath.config
This commit is contained in:
parent
9b2629384f
commit
b879628394
Loading…
x
Reference in New Issue
Block a user