From 08675f441264dce476ecfaf5a42fe73b0b1d38c5 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 10 May 2024 07:46:12 +0200 Subject: install: updated GNU Emacs' paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I have migrated to XDG directories quite some time ago, but the install.sh script was not reflecting this yet. Hence: .emacs.d -> .config/emacs and .doom.d -> .config/doom. Moreover, I'm no longer using i3, so I have removed it from the default install. Signed-off-by: Miquel Sabaté Solà --- install.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index e809430..1d54850 100755 --- a/install.sh +++ b/install.sh @@ -70,8 +70,8 @@ done ## # GNU Emacs: just install Doom and take it from there. -rm -rf "${HOME:?}/.doom.d" -ln -s "$(readlink -f .doom.d)" "${HOME:?}/.doom.d" +rm -rf "${HOME:?}/.config/doom" +ln -s "$(readlink -f .config/doom)" "${HOME:?}/.config/doom" if [ -d "${HOME:?}/.config/emacs" ]; then if [ -x "$(command -v doom)" ]; then @@ -83,10 +83,6 @@ fi "${HOME:?}/.config/emacs/bin/doom" install -# i3 has a slightly different configuration on my workstation and on the laptop. -cp -r .i3 "${HOME:?}" -cp -r .i3status.conf "${HOME:?}" - ## # Other stuff @@ -108,7 +104,7 @@ cp gcompletion.sh "${HOME:?}/.gcompletion.sh" popd echo "" -if [ -e "${HOME:?}/.emacs.d/soria-theme.el" ]; then +if [ -e "${HOME:?}/src/github.com/mssola/soria/soria-theme.el" ]; then echo "You are all set. Enjoy!" else echo "Note: you still need to install https://github.com/mssola/soria.git" -- cgit v1.2.3