summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-04-13 01:51:55 +0000
committernoa@gaiwan.org2024-04-13 01:51:55 +0000
commit4df03133bf8dff64c0d82afd1fb971094bc4c36c (patch)
tree874bc4a3d0a7a9e92494424bf05ab7193870d9f2
parent90dfde99de0af548c660d6484ad588b5d404a692 (diff)
Reconfigure bootstrapping scripts
-rw-r--r--bootstrap15
-rwxr-xr-xsetup.sh (renamed from movein)0
2 files changed, 15 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
new file mode 100644
index 0000000..40373b7
--- /dev/null
+++ b/bootstrap
@@ -0,0 +1,15 @@
+#!/usr/bin/env sh
+
+set -e
+
+mkdir -p $HOME/.config
+cd $HOME/.config
+git init
+git remote add origin "http://cgit.tilde.town/~noa/dots/"
+git fetch origin
+git checkout -b main --track origin/master
+git remote set-url origin noa@tilde.town:public_git/dots
+
+echo
+echo "Configuration files installed."
+echo "You probably want to run ~/.config/setup.sh now."
diff --git a/movein b/setup.sh
index 245ad08..245ad08 100755
--- a/movein
+++ b/setup.sh