summaryrefslogtreecommitdiffstats
path: root/.bin/dot-bootstrap
blob: 56840dce4cbb5795303b30a06c47976d6e0a5a93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.