Skip to content

Instantly share code, notes, and snippets.

@cypher
Created January 19, 2010 20:00
Show Gist options
  • Save cypher/281233 to your computer and use it in GitHub Desktop.
Save cypher/281233 to your computer and use it in GitHub Desktop.
# lexically sort filenames
--sort-files
# Pipe the output through a pager by default
# --pager=less
# Highlight the matching text
--color
# Print 1 line of output context
--context=1
# Follow symlinks
--follow
# Print a filename heading above each file's results and
# print a break between results from different files
--group
# All file types searched
--all-types
# add rake extension to ack's notion of Ruby files
--type-add=ruby=rake
# Introduce Haml to ack
--type-set=haml=.haml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment