setup.sh 280 B

123456789101112
  1. #!/bin/bash
  2. local_bin=$HOME/.local/bin
  3. set -euo pipefail
  4. #
  5. # Install "chezmoi" if not installed
  6. #
  7. if ! command -v chezmoid >/dev/null; then
  8.        sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $local_bin init --apply git@git.beckesch.it:beckesch/dotfiles.git
  9. fi