mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
fix(python): rename alias for activate venv
This commit is contained in:
parent
7eb5dffaa4
commit
55c5c8daff
2 changed files with 3 additions and 3 deletions
|
|
@ -18,8 +18,8 @@ plugins=(... python)
|
||||||
| `pygrep <text>` | Looks for `text` in `*.py` files in the current directory, recursively |
|
| `pygrep <text>` | Looks for `text` in `*.py` files in the current directory, recursively |
|
||||||
| `pyuserpaths` | Add user site-packages folders to `PYTHONPATH`, for Python 2 and 3 |
|
| `pyuserpaths` | Add user site-packages folders to `PYTHONPATH`, for Python 2 and 3 |
|
||||||
| `pyserver` | Starts an HTTP server on the current directory (use `--directory` for a different one) |
|
| `pyserver` | Starts an HTTP server on the current directory (use `--directory` for a different one) |
|
||||||
| `act` | Activate the local environment |
|
| `pya` | Activate the local environment |
|
||||||
| `pyr` | Run `main.py` |
|
| `pyr` | Run `main.py` |
|
||||||
|
|
||||||
## Virtual environments
|
## Virtual environments
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -122,6 +122,6 @@ if [[ "$PYTHON_AUTO_VRUN" == "true" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Activate the local environment
|
# Activate the local environment
|
||||||
alias act='source venv/bin/activate'
|
alias pya='source venv/bin/activate'
|
||||||
# run main.py
|
# run main.py
|
||||||
alias pyr='python main.py'
|
alias pyr='python main.py'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue