mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
9785d24172
Deleting `.mypy_cache` did not work, because the directories were not empty. They contain JSON files instead of compiled byte-code. This extends the cleanup by also getting rid of `.pytest_cache` directories. |
||
---|---|---|
.. | ||
python.plugin.zsh | ||
README.md |
python plugin
The plugin adds several aliases for useful python commands.
To use it, add python
to the plugins array of your zshrc file:
plugins=(... python)
Aliases
Command | Description |
---|---|
pyfind |
Finds .py files recursively in the current directory |
pyclean [dirs] |
Deletes byte-code and cache files from a list of directories or the current one |
pygrep <text> |
Looks for text in .py files |