aboutsummaryrefslogtreecommitdiff
path: root/.oh-my-zsh/plugins/python
diff options
context:
space:
mode:
Diffstat (limited to '.oh-my-zsh/plugins/python')
-rw-r--r--.oh-my-zsh/plugins/python/README.md16
-rw-r--r--.oh-my-zsh/plugins/python/python.plugin.zsh15
2 files changed, 0 insertions, 31 deletions
diff --git a/.oh-my-zsh/plugins/python/README.md b/.oh-my-zsh/plugins/python/README.md
deleted file mode 100644
index 2d955c5..0000000
--- a/.oh-my-zsh/plugins/python/README.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# python plugin
-
-The plugin adds several aliases for useful [python](https://www.python.org/) 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 |
diff --git a/.oh-my-zsh/plugins/python/python.plugin.zsh b/.oh-my-zsh/plugins/python/python.plugin.zsh
deleted file mode 100644
index f754ea2..0000000
--- a/.oh-my-zsh/plugins/python/python.plugin.zsh
+++ /dev/null
@@ -1,15 +0,0 @@
-# Find python file
-alias pyfind='find . -name "*.py"'
-
-# Remove python compiled byte-code and mypy cache in either current directory or in a
-# list of specified directories
-function pyclean() {
- ZSH_PYCLEAN_PLACES=${*:-'.'}
- find ${ZSH_PYCLEAN_PLACES} -type f -name "*.py[co]" -delete
- find ${ZSH_PYCLEAN_PLACES} -type d -name "__pycache__" -delete
- find ${ZSH_PYCLEAN_PLACES} -type d -name ".mypy_cache" -delete
-}
-
-# Grep among .py files
-alias pygrep='grep --include="*.py"'
-