summaryrefslogtreecommitdiffstats
path: root/.bin/dot-bootstrap
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-08 12:40:19 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-08 12:40:19 +0200
commitce6be946d024aa55a15d576388d05f90be671cf2 (patch)
treefa1053446a3fb06daee8438c1ff664cb36c0abcb /.bin/dot-bootstrap
parent703ed1915c69911a95cab6e1fb6524629c976800 (diff)
downloaddots-ce6be946d024aa55a15d576388d05f90be671cf2.tar.gz
Sat Oct 8 12:40:19 PM CEST 2022
Diffstat (limited to '.bin/dot-bootstrap')
-rwxr-xr-x.bin/dot-bootstrap30
1 files changed, 20 insertions, 10 deletions
diff --git a/.bin/dot-bootstrap b/.bin/dot-bootstrap
index 766eaf1..0da52d0 100755
--- a/.bin/dot-bootstrap
+++ b/.bin/dot-bootstrap
@@ -2,17 +2,27 @@
set -x -e
-directories="git \
- downloads \
- .cache/dot \
- .cache/neomutt \
- .local/bin \
- .local/share/dot \
- .mail"
-
+# dotfiles setup
remote=$(yadm remote | head -n 1)
yadm branch --set-upstream-to="${remote}/trunk" trunk
-for directory in ${directories}; do mkdir -p "${HOME}/${directory}"; done
+# directory structure
+for directory in "${HOME}/.cache/dot \
+ ${HOME}/.cache/neomutt \
+ ${HOME}/.local/bin \
+ ${HOME}/.local/share/dot \
+ ${HOME}/.mail
+ ${HOME}/downloads \
+ ${HOME}/git \
+ ${HOME}/mnt \
+ ${HOME}/tmp \
+ ${ZK_NOTEBOOK_DIR}"; do
+ mkdir -p "${directory}"
+done
+
+# default venvs
+venv_root_dir="${HOME}/.local/venv"
+mkdir -p "${venv_root_dir}"
-notmuch new
+python -m venv "${venv_root_dir}/weechat"
+"${venv_root_dir}/weechat/bin/pip" install websocket-client
remember that computers suck.