aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-05-10 07:46:12 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-05-10 07:46:12 +0200
commit08675f441264dce476ecfaf5a42fe73b0b1d38c5 (patch)
tree3c5de1b0911773e10eabbf01cb26f38482390110 /install.sh
parent46fec517f1fb957d5a206df379482723b5ae130d (diff)
downloaddotfiles-08675f441264dce476ecfaf5a42fe73b0b1d38c5.tar.gz
dotfiles-08675f441264dce476ecfaf5a42fe73b0b1d38c5.zip
install: updated GNU Emacs' paths
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à <mikisabate@gmail.com>
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh10
1 files changed, 3 insertions, 7 deletions
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"