mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
Merge pull request #1026 from dir01/patch-1
Python plugin: added pygrep command, simplified pyclean
This commit is contained in:
commit
3fdaf26006
1 file changed
+4
-1
@@ -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"'
|
||||||
Reference in new issue
Block a user