Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make counsel-ag extensible #576
My motivation for this PR is to allow counsel-ag derived more counsel-* commands.
Here's an example which works after this PR is applied:
(defun counsel-news (&optional initial-input) "Search for a pattern in NEWS files using ag. INITIAL-INPUT can be given as the initial minibuffer input." (interactive) (counsel-ag initial-input data-directory " -G '/NEWS'" "Search NEWS"))
Here's a little history on that
This is what running