Last active
July 21, 2026 18:57
-
-
Save jasonmorganson/8a6fae35533bba8594a3e05e0bbe2f4d to your computer and use it in GitHub Desktop.
Setup tools
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/sh | |
| set -eu | |
| repo="$HOME/.local/share/dotfiles" | |
| export GITHUB_USER="${1:-${GITHUB_USER:?usage: setup.sh GITHUB_USERNAME}}" | |
| rm -rf "$repo" | |
| mkdir -p "${repo%/*}" | |
| git clone https://github.com/jasonmorganson/dotfiles.git "$repo" | |
| "$repo/install.sh" | |
| /usr/local/bin/mise set --file "$HOME/.config/mise/config.local.toml" "GITHUB_USER=$GITHUB_USER" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment