dotfiles/setup.sh
2023-09-23 00:47:08 +02:00

15 lines
529 B
Bash

#!/bin/sh -e
alias dots="git --git-dir=$HOME/.dots --work-tree=$HOME"
dots init "$HOME"
dots remote add origin https://codeberg.org/odrling/dotfiles.git
dots fetch origin master
[ -f "$HOME/.profile" ] && mv -vi "$HOME/.profile" "$HOME/.profile.local"
[ -f "$HOME/.zshrc" ] && mv -vi "$HOME/.zshrc" "$HOME/.zshrc.local"
dots checkout -b master --track origin/master
dots submodule update --init --recursive --remote
pip install --user pipx
pipx install git+https://git.odrling.xyz/odrling/hikari_uploader
pipx install rofi-rbw