customize
This commit is contained in:
parent
7264fc8d86
commit
ede252b89c
1 changed files with 17 additions and 6 deletions
11
README.md
11
README.md
|
@ -34,3 +34,14 @@ git -C ~/.local/share/pyv pull
|
|||
rm -rf ~/.local/share/pyv
|
||||
# Also remove corresponding line in ~/.bashrc
|
||||
```
|
||||
|
||||
## Customize `$VENV_DIR`
|
||||
|
||||
By default, it stores venv data in `${XDG_DATA_HOME}/pyv` or
|
||||
`${HOME}/.local/share/pyv`, to change this behavior, set a different `$VENV_DIR`
|
||||
variable:
|
||||
|
||||
```sh
|
||||
# Add this line to bashrc to persist
|
||||
VENV_DIR="$HOME/myvenvs"
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue