Last active
October 26, 2025 15:22
-
-
Save GregBrimble/ae4274f32327171ce9778cf030358be0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -eufo pipefail | |
| if ! which -s brew; then | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| eval "$(/opt/homebrew/bin/brew shellenv)" | |
| fi | |
| if ! which -s "chezmoi"; then | |
| brew install chezmoi | |
| fi | |
| if [ -d "$HOME/.local/share/chezmoi/.git" ]; then | |
| chezmoi update | |
| else | |
| chezmoi init GregBrimble | |
| chezmoi apply | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment