Skip to content
QuiropteroPublic

About

My configuration files

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

199 Commits

Folders and files

Repository files navigation

dotfiles

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.

instructions

Important

This section is a work in progress and it can be plainly wrong. I'll update it as I discover the right order.

install oh-my-zsh in a specific location

ZSH=~/.config/zsh/.oh-my-zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" --unattended --keep-zshrc

install pyenv and pyenv-virtualenv

install neovim

make sure tree-sitter is installed:

brew install tree-sitter
brew install tree-sitter-cli

commitmono font

Note

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.

fix commitmono not recognized as monospace

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>

apply dotfiles

chezmoi init --apply Quiroptero

troubleshooting

homebrew

brew --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!

further reading

software my setup relies on

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

what I used before chezmoi

stow

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.

bare git repository

A simple and elegant way to manage dotfiles is using a bare git repository.

About

My configuration files

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages