Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request ohmyzsh#1026 from dir01/patch-1
Python plugin: added pygrep command, simplified pyclean
  • Loading branch information
robbyrussell committed May 21, 2012
2 parents 383ee71 + 60c3fa9 commit 3fdaf26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/python/python.plugin.zsh
Expand Up @@ -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 3fdaf26

Please sign in to comment.