Skip to content

Instantly share code, notes, and snippets.

@seamusjr
Forked from kevinold/.ackrc
Last active April 3, 2018 17:11
Show Gist options
  • Save seamusjr/24ce674eb91fae8ab99034bed948ff74 to your computer and use it in GitHub Desktop.
Save seamusjr/24ce674eb91fae8ab99034bed948ff74 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
#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
#here's how I have my config file setup. this file is located on mac osx here
# ~/.ackrc
# Always sort the files
#--sort−files
# Always color, even if piping to a another program
--color
# Use "less −r" as my pager
# --pager
# less -r
--ignore-dir=node_modules/
# Make sure ack knows how to search common filetypes used in SFCC projects.
--type-set=isml:ext:isml
--type-set=ds:ext:ds
--type-set=properties:ext:properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment