feat: cellar/share linking
This commit is contained in:
13
README.md
13
README.md
@@ -15,7 +15,10 @@ Or add a new path to your `$PATH`.
|
||||
In your shell config (e.g., `.zprofile` or `.bash_profile`) add
|
||||
|
||||
```sh
|
||||
# needed to run
|
||||
export BREW_PY_CELLAR=$HOME/any/path/you/like
|
||||
# optional, make binary available in shell
|
||||
export PATH=$PATH:$BREW_PY_CELLAR/bin
|
||||
```
|
||||
|
||||
|
||||
@@ -27,6 +30,16 @@ sudo ln -s $BREW_PY_CELLAR /opt/homebrew
|
||||
```
|
||||
|
||||
|
||||
And for auto-completion (zsh) add this to your `.zshrc`:
|
||||
|
||||
```sh
|
||||
# shell-completion in zsh
|
||||
if [ -d "$BREW_PY_CELLAR/share/zsh/site-functions" ]; then
|
||||
fpath=($BREW_PY_CELLAR/share/zsh/site-functions $fpath)
|
||||
fi
|
||||
```
|
||||
|
||||
|
||||
## Config
|
||||
|
||||
There are a few configuration options to modify brew.py behavior.
|
||||
|
||||
Reference in New Issue
Block a user