blob: 0da52d038e0a465c1ddaaa559bfcda57f7456fc0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
set -x -e
# dotfiles setup
remote=$(yadm remote | head -n 1)
yadm branch --set-upstream-to="${remote}/trunk" trunk
# 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}"
python -m venv "${venv_root_dir}/weechat"
"${venv_root_dir}/weechat/bin/pip" install websocket-client
|