aboutsummaryrefslogtreecommitdiff
path: root/.oh-my-zsh/plugins/python
diff options
context:
space:
mode:
authorMarvin Borner2020-03-16 23:33:42 +0100
committerMarvin Borner2020-03-16 23:33:42 +0100
commit0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (patch)
tree719da1c7fe5dabb872fe9ff1582c39b55ccd488e /.oh-my-zsh/plugins/python
parente5d38956336ab1be954bdbd12808c5f98f8bd925 (diff)
Well I'm using Arch again
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"'
-