Skip any "migrations" dirs with rgrep
This commit is contained in:
parent
48387787cf
commit
0b1080da69
1 changed files with 12 additions and 0 deletions
|
@ -1580,6 +1580,18 @@
|
|||
(global-set-key (kbd "C-c d d") 'desktop-registry-change-desktop)
|
||||
#+END_SRC
|
||||
|
||||
* Skip migrations directories
|
||||
|
||||
When rgrepping, be sure to skip any ~migrations/~ directory. So far
|
||||
the only projects where this directory has shown up are django
|
||||
projects that use south, and this means that usually I don't care
|
||||
what they say.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(stante-after grep
|
||||
(add-to-list 'grep-find-ignored-directories "migrations"))
|
||||
#+END_SRC
|
||||
|
||||
* All the rest
|
||||
|
||||
This still needs to be sorted out and documented, haven't had time
|
||||
|
|
Loading…
Reference in a new issue