Add your GitHub
token to your $HOME/.netrc
file.
echo "machine github.com login <username> password <token>" >> $HOME/.netrc
Then install the chezmoi
dotfile manager and init
it with this repository:
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply git@github.com:$GITHUB_USERNAME/dotfiles.git
Add the following to the $HOME/.config/chezmoi/chezmoi.toml
file:
[data]
name = "Jon Doe"
email = "jon.doe@example.org"
gh_user = "jondoe47"
workspaces = "/home/jon/workspaces"
editor = "nvim"