Prevent all-the-icons-install-fonts from running in CI

While I would like my CI build to closely resemble a non-CI build, supporting
the `all-the-icons-install-fonts` call is a low priority with a medium amount of
work required.
This commit is contained in:
William Carroll 2020-08-31 12:08:30 +01:00
parent 70d87eaf24
commit 9065c575aa

View file

@ -10,6 +10,7 @@
;; Dependencies
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'constants)
(require 'prelude)
(require 'alist)
(require 'fonts)
@ -115,8 +116,9 @@
;; all-the-icons
(use-package all-the-icons
:config
(when (not constants/ci?)
(unless (f-exists? "~/.local/share/fonts/all-the-icons.ttf")
(all-the-icons-install-fonts t)))
(all-the-icons-install-fonts t))))
;; icons for Ivy
(use-package all-the-icons-ivy