aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-10-17 03:32:33 +0200
committerGravatar Tom Willemse2016-10-17 03:32:33 +0200
commit5fdb1c55b8977fe11357483dc425563d5ef795e5 (patch)
tree86af602c810f50e27542093c69717ba54bc7a5c6
parentb05b4ad6e9a0605c2b0064cec2702fadd66ade06 (diff)
downloadnew-dotfiles-5fdb1c55b8977fe11357483dc425563d5ef795e5.tar.gz
new-dotfiles-5fdb1c55b8977fe11357483dc425563d5ef795e5.zip
Ignore compiled zsh functions in counsel
-rw-r--r--emacs/.emacs.d/init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 39cdc45..e0370bd 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -338,7 +338,9 @@ To start off, first I need to enable lexical binding.
Hide dotfiles in =counsel-find-file=.
#+BEGIN_SRC emacs-lisp
- (setq counsel-find-file-ignore-regexp "\\`\\.")
+ (setq counsel-find-file-ignore-regexp
+ (rx (or (and bos ".")
+ (and ".zwc" eos))))
#+END_SRC
Enable Counsel.