1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/sh set -x -e directories="git \ downloads \ .cache/dot \ .cache/neomutt \ .local/bin \ .local/share/dot \ .mail" remote=$(yadm remote | head -n 1) yadm branch --set-upstream-to="${remote}/trunk" trunk for directory in ${directories}; do mkdir -p "${HOME}/${directory}"; done notmuch new