From 0f08d04698c814955116b6bae50752e64b774d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 23 Dec 2021 18:28:03 +0000 Subject: Thu Dec 23 06:28:03 PM UTC 2021 --- .bin/dot-bootstrap | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 .bin/dot-bootstrap (limited to '.bin/dot-bootstrap') 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 -- cgit v1.2.3