Skip to content
This repository

Python plugin: added pygrep command, simplified pyclean #1026

merged 1 commit into from almost 2 years ago

2 participants

Andrey Zhukovskiy Robby Russell
Andrey Zhukovskiy
dir01 commented March 21, 2012

No description provided.

Robby Russell robbyrussell merged commit 3fdaf26 into from May 20, 2012
Robby Russell robbyrussell closed this May 20, 2012
Michele Campeotto micampe referenced this pull request from a commit August 04, 2012
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 22, 2012
Andrey Zhukovskiy Python plugin: added pygrep command, simplified pyclean 60c3fa9
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  plugins/python/python.plugin.zsh
5  plugins/python/python.plugin.zsh
@@ -2,4 +2,7 @@
2 2
 alias pyfind='find . -name "*.py"'
3 3
4 4
 # 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"'

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.