From 55c5c8daff90699a520d777357432ab827384018 Mon Sep 17 00:00:00 2001 From: Hanashiko Date: Mon, 5 May 2025 11:00:11 +0300 Subject: [PATCH] fix(python): rename alias for activate venv --- plugins/python/README.md | 4 ++-- plugins/python/python.plugin.zsh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/python/README.md b/plugins/python/README.md index 833af166a..80925ef2d 100644 --- a/plugins/python/README.md +++ b/plugins/python/README.md @@ -18,8 +18,8 @@ plugins=(... python) | `pygrep ` | Looks for `text` in `*.py` files in the current directory, recursively | | `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) | -| `act` | Activate the local environment | -| `pyr` | Run `main.py` | +| `pya` | Activate the local environment | +| `pyr` | Run `main.py` | ## Virtual environments diff --git a/plugins/python/python.plugin.zsh b/plugins/python/python.plugin.zsh index 3698f3d6a..6be50e7e5 100644 --- a/plugins/python/python.plugin.zsh +++ b/plugins/python/python.plugin.zsh @@ -122,6 +122,6 @@ if [[ "$PYTHON_AUTO_VRUN" == "true" ]]; then fi # Activate the local environment -alias act='source venv/bin/activate' +alias pya='source venv/bin/activate' # run main.py alias pyr='python main.py'