From 4e650e176b0fafe70faacfed920117df3f9c0bf7 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 7 Sep 2024 08:17:51 +0100 Subject: [PATCH] Switch to using ~/.config/emacs/ instead of ~/.emacs.d/ for Emacs config --- system/home/scripts/shell/esync.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/home/scripts/shell/esync.sh b/system/home/scripts/shell/esync.sh index f053dfcc..59ac5b1b 100755 --- a/system/home/scripts/shell/esync.sh +++ b/system/home/scripts/shell/esync.sh @@ -1,5 +1,5 @@ -# Clone ~/.emacs.d/ if it doesn't exist -EMACS_DIR="$HOME/.emacs.d/" +# Clone ~/.config/emacs/ if it doesn't exist +EMACS_DIR="${XDG_CONFIG_DIR:=$HOME/.config}/emacs/" if [ ! -d "$EMACS_DIR" ]; then git clone "https://git.xenia.me.uk/pixelifytica/emacs.git" "$EMACS_DIR" fi