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