My config files
- Clone this repo:
git clone https://github.com/arthurc0102/dotfiles.git ~/.dotfiles. - Run setup script:
~/.dotfiles/setup.zshor link config file to the right place by yourself.
Update name and email in git config
If you need to use multi account, update git config local create by setup.zsh, see example below.
[includeIf "gitdir:~/projects/work/"] # The trailing slash is necessary.
path = ~/.config/git/config.workOr you can create a new file in git config local folder like example below.
Example for ~/.dotfiles/stow-local/dot-config/git/config.work
[core]
sshCommand = "ssh -o IdentitiesOnly=yes -i ~/.ssh/work.pub"
[user]
email = work@example.com
name = Your NameAnd run setup.zsh again to link the config file to the right place.
To sign commits and tags with an SSH key, add the config below to git config local (or to a per-account config file).
[user]
signingkey = ~/.ssh/git-signing
[gpg]
format = ssh
[commit]
gpgsign = true
[tag]
gpgsign = trueInstall with uv
uv python install <version>Install with mise
mise use -g node@ltsDump brew list
brew bundle dump -f --file=Brewfile --no-vscode --no-go --no-cargo --no-uv --no-npm --no-describeInstall from Brewfile
brew bundle --file=Brewfile- Test startup speed:
/usr/bin/time zsh -i -c exit