Dotfiles, bootstrapped with mise.
Bootstrap a new machine without GitHub authentication, providing the GitHub username whose public profile and SSH keys should be used:
curl -fsSL https://gist.github.com/jasonmorganson/8a6fae35533bba8594a3e05e0bbe2f4d/raw/setup.sh | sh -s -- your-github-user#!/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"Pull the latest dotfiles and reapply the machine configuration:
bootstrapinstall.sh is the no-argument setup entrypoint used by Codespaces and similar
environments. It installs mise to /usr/local/bin before bootstrapping:
mise bootstrap --yes --force-dotfiles
See reference.
docker-compose run dotfiles