From 8b8c7c7411af19e9458c950ba4de94fa61c81459 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 5 Jul 2018 01:32:38 +0200 Subject: [PATCH] doom-doctor: use ~ instead of HOME envvar --- bin/doom-doctor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/doom-doctor b/bin/doom-doctor index eca264076..ccd83c284 100755 --- a/bin/doom-doctor +++ b/bin/doom-doctor @@ -155,9 +155,9 @@ ;; all-the-icons fonts (let ((font-dest (pcase system-type ('gnu/linux (concat (or (getenv "XDG_DATA_HOME") - (concat (getenv "HOME") "/.local/share")) + "~/.local/share") "/fonts/")) - ('darwin (concat (getenv "HOME") "/Library/Fonts/"))))) + ('darwin "~/Library/Fonts/")))) (when (and font-dest (require 'all-the-icons nil t)) (dolist (font all-the-icons-font-names) (if (file-exists-p (expand-file-name font font-dest))