13 lines
336 B
Bash
13 lines
336 B
Bash
|
# Clone ~/.emacs.d/ if it doesn't exist
|
||
|
EMACS_DIR="$HOME/.emacs.d/"
|
||
|
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
|
||
|
# Install and update extensions
|
||
|
make install
|
||
|
)
|