Compare commits
No commits in common. "df5ce1723dedddb9726434fff151b1ef6ae02623" and "4bef95a5d20163054314dd5383b064e5c6d38efc" have entirely different histories.
df5ce1723d
...
4bef95a5d2
4
Makefile
4
Makefile
|
@ -3,7 +3,7 @@
|
||||||
default: build
|
default: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
nix run . -- build --flake . --show-trace
|
home-manager build --flake . --show-trace
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
nix run . -- switch --flake . --show-trace
|
home-maanger switch --flake . --show-trace
|
||||||
|
|
|
@ -1,17 +1,3 @@
|
||||||
# Clone ~/.emacs.d/ if it doesn't exist, pull otherwise (ff only)
|
|
||||||
DIRECTORY="$HOME/.emacs.d/"
|
|
||||||
URL="https://git.xenia.me.uk/pixelifytica/emacs.git"
|
|
||||||
echo "--- ~/.emacs.d/ ---"
|
|
||||||
if [ ! -d "$DIRECTORY" ]; then
|
|
||||||
git clone "$URL" "$DIRECTORY"
|
|
||||||
fi
|
|
||||||
(
|
|
||||||
cd "$DIRECTORY" || exit
|
|
||||||
git remote set-url origin "$URL"
|
|
||||||
git pull --ff --ff-only
|
|
||||||
git status --porcelain
|
|
||||||
)
|
|
||||||
|
|
||||||
# Sync common directories, setting url to ensure it's up-to-date first
|
# Sync common directories, setting url to ensure it's up-to-date first
|
||||||
SYNC_DIRS=(
|
SYNC_DIRS=(
|
||||||
"$HOME/.password-store/"
|
"$HOME/.password-store/"
|
||||||
|
|
Reference in a new issue