These are my dotfiles. I use them with zsh and ghostty is my terminal of choice.
Just run this
git clone git@github.com: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 = john@doe.com
Any other git config you want to keep private, you can put in there.
Sync Rex preferences and UI shortcuts between machines. Quit Rex before exporting or importing; it can overwrite changes while running.
./scripts/sync-rex export
./scripts/sync-rex importExport writes scripts/settings/rex.plist and scripts/settings/rex-shortcuts.json; commit and transfer both with the dotfiles. Export fails if the shortcut file is missing. Import replaces the destination's UI shortcuts and changes only preference keys listed in scripts/configs/rex.conf, including resetting keys absent on the exporting machine to their defaults. If the key list changes, export again before importing. Shortcut JSON is validated before preferences change, but a later failure can leave a partial sync. Review snapshots before committing; custom themes are included. Lua config and fonts are managed separately. Requires macOS.
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.