I use chezmoi to manage my dotfiles.
Although dotfiles are meant to be forked, mine are heavily customised and thus are useful only for me. Everyone is welcomed to take a look and learn a thing or two.
Important
This section is a work in progress and it can be plainly wrong. I'll update it as I discover the right order.
ZSH=~/.config/zsh/.oh-my-zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" --unattended --keep-zshrcbrew install tree-sitter
brew install tree-sitter-cliNote
A copy of commitmono is on resources/commitmono/commitmono.zip.
To replicate it, follow these steps:
Go to commitmono.com.
Paste the settings from resources/commitmono/custom-settings.json
in the Retrieve custom settings section of the 07 Customize tab.
Click on Download custom for dev.
cd to dir of downloaded fonts and execute the following commands:
# install fonttools
python -m venv venv
venv/bin/pip install fonttools
# convert to ttx
venv/bin/ttx ./*.otf
# set isFixedPitch to 1 (linux)
sed -i -e 's/isFixedPitch value="0"/isFixedPitch value="1"/g' ./*.ttx
# convert back
mkdir fixed
venv/bin/ttx -d fixed/ ./*.ttx
# convert to woff2
woff2_compress <filename>chezmoi init --apply Quiropterobrew --prefix <package> # where did brew put my package?
brew list <package> | grep bin/ # does the formula ship a bin
brew info <package> # always worth a look!Note
This is a list to remind myself of software I might want to install in fresh environments. It is not a comprehensive list and not all of these are represented in the dotfiles. In the future, I'd like to have this automatically installed with a bash script. Maybe.
- age
- asciinema & agg
- atuin
- bat
- broot
- chezmoi
- commitmono font
- delta
- eza
- fzf & fzf-git & fd
- gnu stow
- homebrew
- hugo
- keepassxc (make sure to include keepassxc-cli)
- kitty
- neovim
- node (npm capabilities)
- oh my zsh
- presenterm
- pyenv & pyenv-virtualenv
- rclone
- ripgrep
- secret-tool
- tellico
- twine
- visidata
The GNU Stow package is a great option when you don't need templating.
Bastian Venthur's and Brandon Invergo's articles were of much help when deciding this setup.
A simple and elegant way to manage dotfiles is using a bare git repository.