ohmyzsh/plugins/python
Michael 9785d24172 python: fix and extend pyclean (#7762)
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.
2019-10-25 13:24:35 +02:00
..
README.md
python.plugin.zsh python: fix and extend pyclean (#7762) 2019-10-25 13:24:35 +02:00

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