completion/ivy: persist counsel-compile-history

This commit is contained in:
Henrik Lissner 2019-10-17 01:43:37 -04:00
parent d5e6c8813e
commit 1826421cba
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -238,6 +238,10 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
:config
(set-popup-rule! "^\\*ivy-occur" :size 0.35 :ttl 0 :quit nil)
(after! savehist
;; Persist `counsel-compile' history
(add-to-list 'savehist-additional-variables 'counsel-compile-history))
(when IS-MAC
(setq counsel-locate-cmd #'counsel-locate-cmd-mdfind))
(setq counsel-find-file-ignore-regexp "\\(?:^[#.]\\)\\|\\(?:[#~]$\\)\\|\\(?:^Icon?\\)"