Python plugin: added pygrep command, simplified pyclean

This commit is contained in:
dir01 2012-03-22 04:34:19 +07:00
parent 1120f97305
commit 60c3fa9371

View file

@ -2,4 +2,7 @@
alias pyfind='find . -name "*.py"' alias pyfind='find . -name "*.py"'
# Remove python compiled byte-code # 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"'