Skip to content

Instantly share code, notes, and snippets.

@lukecarbis
Created February 10, 2020 01:14
Show Gist options
  • Save lukecarbis/77dc904eef7d1e47a7426fd613fd7fac to your computer and use it in GitHub Desktop.
Save lukecarbis/77dc904eef7d1e47a7426fd613fd7fac to your computer and use it in GitHub Desktop.
# ack is a tool like grep, designed for programmers with large trees of heterogeneous source code
# To install ack, see http://betterthangrep.com/
# To use ack, launch terminal (mac osx) and type 'ack <some_keywords>'
# ack will search all files in the current directory & sub-directories
# Always color, even if piping to a another program
--color
# Ignore some directories
--ignore-dir=bin/
--ignore-dir=node_modules/
--ignore-dir=vendor/
# Ignore minified files
--ignore-file=firstlinematch:/.{200}/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment