Skip to content

BaronBonet/dotfiles

Repository files navigation

Eric's dotfiles

Managed using chezmoi. Attempting to keep my dotfiles synced across my personal and work machines.

I wouldn't suggest anyone other than myself use these dot files as is, I've littered my configs (e.g. .gitconfig) with personal information. Feel free to browse these files and copy what you like.

Getting started

The majority of my dotfiles exist in ~/.config/ in order to get chezmoi to copy itself to the correct location open a terminal and run:

export XDG_CONFIG_HOME="$HOME/.config"

Then run this one liner (taken from chezmoi.io), to clone and apply my dotfiles. Xcode may need to be installed for this to work, it will prompt you to install it if required. If brew in not installed it will also be installed as well, if you're prompted to add anything to your .bashrc file after installing brew be sure to do so.

sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply BaronBonet

This should copy all my dotfiles to their respective locations, and run the install script found here. This script installs brew, all of my brew packages as well as the interpreted languages I'm currently using (Python and Ruby) managed by asdf.

Further setup

There are a number of applications that will require a bit of manual setup.

Alacrity - Terminal

Alacrity doesn't want to open the 1st time follow this guys advice:

  1. Right click the [alacrity] icon (on the apple menu) and hit open
  2. Click openNuances with installing packages on the dialog that appears

Raycast - Better shortcuts

Open raycast, authorize it and go through the initial setup process.

Rectangle - Window resizer

Open rectangle, authorize it. The settings should be taken from the ones coped by chezmoi.

Github cli

Helpful tools to interact with github via the terminal. Also greatly increases the rate limit for Mason.

 gh auth login

To enable copilot in nvim, when you 1st open nvim run :Copilot auth and follow the instructions.

tmux

Install tmux plugins with prefix + I

Working with chezmoi

For any file managed by chezmoi you can use the following commands to interact with them:

  • ch diff <file> to see the changes between the current file and the chezmoi managed file
  • ch add <file> to add the file to chezmoi

To apply the changes from the managed files from chezmoi to your local files use:

  • ch diff to see the changes that will be applied
  • ch apply to apply the changes

Regularly run ch apply to ensure your managed dot files are not too far behind. It will notify you what it will modify (so what you haven't updated in chemozi). If that's the case then add the file/folder with ch add

If you want to run all of the scripts in .chezmoiscripts then clear the state of the scripts with:

chezmoi state delete-bucket --bucket=entryState
chezmoi state delete-bucket --bucket=scriptState

About

My personal dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published