From 0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 16 Mar 2020 23:33:42 +0100 Subject: Well I'm using Arch again --- .oh-my-zsh/plugins/python/README.md | 16 ---------------- .oh-my-zsh/plugins/python/python.plugin.zsh | 15 --------------- 2 files changed, 31 deletions(-) delete mode 100644 .oh-my-zsh/plugins/python/README.md delete mode 100644 .oh-my-zsh/plugins/python/python.plugin.zsh (limited to '.oh-my-zsh/plugins/python') 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 ` | 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"' - -- cgit v1.2.3