Only on display-graphic check for all-the-icons font
This commit is contained in:
parent
c399c8581b
commit
92341ef5b0
1 changed files with 3 additions and 2 deletions
5
init.el
5
init.el
|
@ -232,8 +232,9 @@
|
|||
(use-package all-the-icons
|
||||
:commands all-the-icons-install-fonts
|
||||
:init
|
||||
(unless (find-font (font-spec :name "all-the-icons"))
|
||||
(all-the-icons-install-fonts t)))
|
||||
(when (display-graphic-p)
|
||||
(unless (find-font (font-spec :name "all-the-icons"))
|
||||
(all-the-icons-install-fonts t))))
|
||||
|
||||
(use-package all-the-icons-dired
|
||||
:after all-the-icons
|
||||
|
|
Loading…
Add table
Reference in a new issue