Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
counsel.el (counsel-ag, counsel-rg): store command persistently
Fixes #1474
- Loading branch information
Showing
1 changed file
with
36 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bc072e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit changed the default directory that counsel-ag searches. In the past this has been the directory of the current buffer, but now it is the dominating directory that contains the .git directory. This breaks my workflow because I use counsel-ag to search the current directory and projectile-ag to search the entire project. I realize I can prefix the counsel-ag command and it will ask for the directory.
Are there any plans to make this configurable? Do you have suggestions on how to get the original behavior of counsel-ag?