Skip to content

Instantly share code, notes, and snippets.

@medwig
Last active May 9, 2019 14:45
Show Gist options
  • Save medwig/096914344de70b5141943adead80bfb2 to your computer and use it in GitHub Desktop.
Save medwig/096914344de70b5141943adead80bfb2 to your computer and use it in GitHub Desktop.
Alias grep default options
# Grep default options
GREP_OPTIONS='--color=auto --exclude=*.pyc --exclude-dir=.git --exclude-dir *node_modules* --exclude-dir *.serverless* --exclude-dir *.requirements* --exclude-dir *.terraform*'
alias grep="grep $GREP_OPTIONS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment