blob: 0da52d038e0a465c1ddaaa559bfcda57f7456fc0 (
plain) (
tree)
|
|
#!/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
|