Make all-the-icons return empty string in tty #941
This commit is contained in:
parent
213f7f369e
commit
56d7f70b2f
1 changed files with 3 additions and 2 deletions
|
@ -116,8 +116,9 @@ size.")
|
||||||
all-the-icons-wicon all-the-icons-material all-the-icons-alltheicon)
|
all-the-icons-wicon all-the-icons-material all-the-icons-alltheicon)
|
||||||
:init
|
:init
|
||||||
(defun doom*disable-all-the-icons-in-tty (orig-fn &rest args)
|
(defun doom*disable-all-the-icons-in-tty (orig-fn &rest args)
|
||||||
(when (display-graphic-p)
|
(if (display-graphic-p)
|
||||||
(apply orig-fn args)))
|
(apply orig-fn args)
|
||||||
|
""))
|
||||||
:config
|
:config
|
||||||
;; all-the-icons doesn't work in the terminal, so we "disable" it.
|
;; all-the-icons doesn't work in the terminal, so we "disable" it.
|
||||||
(dolist (fn '(all-the-icons-octicon all-the-icons-material
|
(dolist (fn '(all-the-icons-octicon all-the-icons-material
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue