summaryrefslogtreecommitdiffstats
path: root/.bin/dot-bootstrap
diff options
context:
space:
mode:
Diffstat (limited to '.bin/dot-bootstrap')
-rwxr-xr-x.bin/dot-bootstrap17
1 files changed, 17 insertions, 0 deletions
diff --git a/.bin/dot-bootstrap b/.bin/dot-bootstrap
new file mode 100755
index 0000000..56840dc
--- /dev/null
+++ b/.bin/dot-bootstrap
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -x -e
+
+directories="git \
+ downloads \
+ .cache/dot \
+ .cache/neomutt \
+ .local/bin \
+ .local/share/dot"
+
+remote=$(yadm remote | head -n 1)
+yadm branch --set-upstream-to="${remote}/trunk" trunk
+
+for directory in ${directories}; do
+ [ ! -d "${HOME}/${directory}" ] && mkdir -p "${HOME}/${directory}"
+done
remember that computers suck.