Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1026 from dir01/patch-1

Python plugin: added pygrep command, simplified pyclean
  • Loading branch information...
commit 3fdaf26006e3f075e7ccefd2721295b8bc5172f9 2 parents 383ee71 + 60c3fa9
@robbyrussell robbyrussell authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 plugins/python/python.plugin.zsh
View
5 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"'
Please sign in to comment.
Something went wrong with that request. Please try again.