From 5fdb1c55b8977fe11357483dc425563d5ef795e5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 17 Oct 2016 03:32:33 +0200 Subject: [PATCH] Ignore compiled zsh functions in counsel --- emacs/.emacs.d/init.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.