Permalink
Browse files

Python plugin: added pygrep command, simplified pyclean

  • Loading branch information...
1 parent 1120f97 commit 60c3fa937120f38b1215a57889c8207989c9a7f1 @dir01 dir01 committed Mar 21, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 plugins/python/python.plugin.zsh
@@ -2,4 +2,7 @@
alias pyfind='find . -name "*.py"'
# Remove python compiled byte-code
-alias pyclean='find . -type f -name "*.py[co]" -exec rm -f \{\} \;'
+alias pyclean='find . -type f -name "*.py[co]" -delete'
+
+# Grep among .py files
+alias pygrep='grep --include="*.py"'

0 comments on commit 60c3fa9

Please sign in to comment.