These are my dotfiles. I use them with zsh and ghostty is my terminal of choice.
Just run this
git clone [email protected]:tricinel/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./setup.shThis will do a couple of things:
- Install
zsh, thestarship promptand a couple of otherbrewgoodies. See thesetup.shfile for all the packages that will be installed. - Symlink the appropriate files in
.dotfilesto your home directory. Everything is configured and tweaked within~/.dotfiles. We do this using stow. - Symlink the configs for nvim, ghostty and git
If you have sensible private information particular to your system (DON'T commit your ssh keys and passwords dude), put them into a .localrc file in your $HOME folder and .zshrc will pick it up automatically.
Git config
.gitconfig will have some good defaults and a bunch of aliases already set up. You will need to create a file called .gitconfig.local in your home directory and put your git user in there. It should look like this:
[user]
name = John Doe
email = [email protected]
Any other git config you want to keep private, you can put in there.
Use scripts/perf-budget to benchmark local startup time for shell and nvim config changes.
scripts/perf-budget --list
scripts/perf-budget shell-startup --update-baseline
scripts/perf-budget shell-startup
scripts/perf-budget shell-startup --show
scripts/perf-budget --show
scripts/perf-budget nvim-startup
scripts/perf-budget nvim-startup --save-snapshot mini-surround
scripts/perf-budget nvim-startup --historyBaselines live in .benchmarks/baselines/local/ and are meant to be machine-specific. Results live in .benchmarks/results/. Snapshots live in .benchmarks/snapshots/local/ and record named accepted changes over time. Normal runs warn when startup time drifts over budget, but they do not fail with a non-zero exit code.
As always, these are most welcome.