# ensure git and stow are installed sudo apt install git stow if check_dir_exists ~/dotfiles; then cd ~/dotfiles git pull echo "Pulled billypom/dotfiles from gitea" else cd ~ git clone ssh://git@git.billypom.com:2222/billy/dotfiles echo "Cloned billypom/dotfiles from gitea" fi cd ~/dotfiles stow --adopt . echo "Stowed dotfiles"