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.
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 BaronBonetThis 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.
There are a number of applications that will require a bit of manual setup.
Alacrity doesn't want to open the 1st time follow this guys advice:
- Right click the [alacrity] icon (on the apple menu) and hit open
- Click openNuances with installing packages on the dialog that appears
Open raycast, authorize it and go through the initial setup process.
Open rectangle, authorize it. The settings should be taken from the ones coped by chezmoi.
Helpful tools to interact with github via the terminal. Also greatly increases the rate limit for Mason.
gh auth loginTo enable copilot in nvim, when you 1st open nvim run :Copilot auth and follow the instructions.
Install tmux plugins with prefix + I
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 filech add <file>to add the file to chezmoi
To apply the changes from the managed files from chezmoi to your local files use:
ch diffto see the changes that will be appliedch applyto 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