2024-09-07 08:17:51 +01:00
|
|
|
# Clone ~/.config/emacs/ if it doesn't exist
|
|
|
|
EMACS_DIR="${XDG_CONFIG_DIR:=$HOME/.config}/emacs/"
|
2024-08-22 06:55:41 +01:00
|
|
|
if [ ! -d "$EMACS_DIR" ]; then
|
|
|
|
git clone "https://git.xenia.me.uk/pixelifytica/emacs.git" "$EMACS_DIR"
|
|
|
|
fi
|
|
|
|
(
|
|
|
|
cd "$EMACS_DIR" || exit 1
|
|
|
|
# Pull changes by fast-forwarding only
|
|
|
|
git pull --ff --ff-only
|
2024-08-22 07:11:47 +01:00
|
|
|
# Update submodules for local packages
|
|
|
|
git submodule update --init --recursive
|
2024-08-22 06:55:41 +01:00
|
|
|
# Install and update extensions
|
|
|
|
make install
|
|
|
|
)
|