mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fixes for the linter.
This commit is contained in:
parent
95b19823b7
commit
29b43e1dc9
@ -111,12 +111,15 @@ In the macOS Terminal, you can right-click on a command name (like `ls` or `tar`
|
|||||||
|
|
||||||
Terminal needs an extra hint on where to find manpages installed by Homebrew because it doesn't load normal dotfiles like `~/.bash_profile` or `~/.zshrc`.
|
Terminal needs an extra hint on where to find manpages installed by Homebrew because it doesn't load normal dotfiles like `~/.bash_profile` or `~/.zshrc`.
|
||||||
|
|
||||||
```console
|
```sh
|
||||||
$ sudo mkdir -p /usr/local/etc/man.d
|
sudo mkdir -p /usr/local/etc/man.d
|
||||||
$ sudo nano /usr/local/etc/man.d/homebrew.man.conf
|
sudo nano /usr/local/etc/man.d/homebrew.man.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
Add the following to the new file `homebrew.man.conf`:
|
Add the following to the new file `homebrew.man.conf`:
|
||||||
```
|
|
||||||
|
```sh
|
||||||
### Homebrew
|
### Homebrew
|
||||||
MANPATH /opt/homebrew/share/man
|
MANPATH /opt/homebrew/share/man
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user