summaryrefslogtreecommitdiff
path: root/emacs/early-init.el
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2023-07-08 12:03:19 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2023-07-08 12:03:19 +0100
commitba07f6a54ffc59cf315282ebf4c9358f4a4e525c (patch)
tree2c24d24acdd2f94afcbd21c5435f885e0c81e907 /emacs/early-init.el
parent4dc8f2713778969f35e8a0bd0baca738afd82e5c (diff)
zsh: Add HOST_SHORT to refer to the machine name
Diffstat (limited to 'emacs/early-init.el')
-rw-r--r--emacs/early-init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/early-init.el b/emacs/early-init.el
index a83816f..a4f99c7 100644
--- a/emacs/early-init.el
+++ b/emacs/early-init.el
@@ -8,7 +8,7 @@
(defun my/load-file-variations (filename)
"Load variations of FILENAME that may exist in other dotfiles
directories."
- (dolist (elt '("${UNAME}" "${DOMAIN}" "${HOST}"))
+ (dolist (elt '("${UNAME}" "${DOMAIN}" "${HOST_SHORT}" "${HOST}"))
(my/load-file (format "dotfiles-%s/%s" elt filename))))
(my/load-file "emacs/functions")