Have counsel ignore dotfiles

This commit is contained in:
Tom Willemse 2016-09-27 02:41:55 +02:00
parent 798391c5df
commit dbd8338ae5

View file

@ -361,6 +361,12 @@ To start off, first I need to enable lexical binding.
(require 'counsel) (require 'counsel)
#+END_SRC #+END_SRC
Hide dotfiles in =counsel-find-file=.
#+BEGIN_SRC emacs-lisp
(setq counsel-find-file-ignore-regexp "\\`\\.")
#+END_SRC
Enable Counsel. Enable Counsel.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp