Skip to content

Instantly share code, notes, and snippets.

@kentaro
Created March 1, 2013 02:51
Show Gist options
  • Save kentaro/5062138 to your computer and use it in GitHub Desktop.
Save kentaro/5062138 to your computer and use it in GitHub Desktop.
(defun ag ()
(interactive)
(let ((grep-command "ag -a --nocolor ")
(grep-find-command "ag --nocolor --nogroup "))
(call-interactively 'grep-find)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment