From a558f9b3f143f7817c133442b449c7be43a70e06 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 11 May 2019 18:02:41 -0400 Subject: [PATCH] cli/quickstart: fix font path for all-the-icons-install-fonts all-the-icons-install-fonts guesses the font path based on `window-system', which is nil in tty Emacs. --- core/cli/quickstart.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/cli/quickstart.el b/core/cli/quickstart.el index 1554fbddd..531611d0e 100644 --- a/core/cli/quickstart.el +++ b/core/cli/quickstart.el @@ -95,7 +95,9 @@ regenerates the autoloads file." (when (or doom-auto-accept (y-or-n-p "Download and install all-the-icon's fonts?")) (require 'all-the-icons) - (all-the-icons-install-fonts 'yes))) + (let ((window-system (cond (IS-MAC 'ns) + (IS-LINUX 'x)))) + (all-the-icons-install-fonts 'yes)))) (print! (bold (green "\nFinished! Doom is ready to go!\n"))) (with-temp-buffer