Backup of settings and preferences.
The management of my dotfiles is partially automated through a custom shell script, dot.sh
.
- Download this script and place it somewhere where it can be easily accessed โ I recommend using the home directory or creating an alias.
- Adjust the top-level variables, specifically:
REPOSITORY
โ remote git repository address which will be used for syncing;TO_SYNC
โ an array of file paths (relative to the user's home directory) which you want to upload to the remote.
- (optional) Modify the code to add additional syncing logic, e.g. stripping private tokens to prevent them from being released to the internet.
- Run
./dot.sh sync
:
This will first:
- clone your repository to
$HOME/.dot
(this path can be modified) or, if it already exists: - fetch any changes from the remote.
It will then execute the syncing logic and put its artifacts (dotfiles) in the aforementioned directory. Finally, everything will be pushed to the remote.
WIP
The agent configuration is fine-tuned to support Git commit signing via YubiKey.
The config is extended to use 1Password's SSH integration.
Note
VS Code remembers these via Settings Sync.
Settings and a list of installed extensions are included.
Only some small visual changes.
Small tweaks, including commit signing.
Configured so that sudo is not required during npm install
.
Although I don't use Vim as my editor of choice, I like to have it configured according to my needs. The config is somewhat inspired by https://github.com/amix/vimrc/blob/master/vimrcs/basic.vim.
Install Homebrew if it doesn't exist. Then, install the dependencies listed in the Brewfile
:
if ! command -v brew &> /dev/null
then
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
brew bundle
Many visual and quality-of-life changes. Color theme: https://github.com/sindresorhus/iterm2-snazzy.
MIT