From 653db8fbe99084e9e0d80857fab2dfc2b2e24584 Mon Sep 17 00:00:00 2001 From: Thiago Avelino Date: Sat, 30 Apr 2011 17:20:21 -0300 Subject: [PATCH] Remove python compiled byte-code --- plugins/python/python.plugin.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/python/python.plugin.zsh b/plugins/python/python.plugin.zsh index 91d385918..a6d7d0100 100644 --- a/plugins/python/python.plugin.zsh +++ b/plugins/python/python.plugin.zsh @@ -2,3 +2,6 @@ alias spip='sudo pip' # Find python file alias pyfind='find . -name *.py | xargs grep -n' + +# Remove python compiled byte-code (By diofeher) +alias pycrm='rm `find . | grep -E "*.(pyc|pyo)$"`'