Created
April 13, 2012 22:13
-
-
Save unnamedd/2380471 to your computer and use it in GitHub Desktop.
My Aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias mygrep="clear && grep -Rni $1 --exclude=*.{js,css,log,sql,pyc,swp} $2" | |
alias greppy="clear && grep -Rni $1 --exclude=*.* --include=*.py $2" | |
alias grephtml="clear && grep -Rni $1 --exclude=*.* --include=*.html $2" | |
alias grepcss="clear && grep -Rni $1 --exclude=*.* --include=*.css $2" | |
alias grepjs="clear && grep -Rni $1 --exclude=*.* --include=*.js $2" | |
# find and delete | |
find . -name "*.pyc" | xargs rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment