Dotfiles are usually hidden config files that are easily transportable and sharable between installations of *nix operating systems.
Mine are a collection of little things everywhere that make up a fully fledged and development oriented setup.
soontm
To be used on a fresh install. Make sure to get every dependencies beforehand.
The goal is to create and get an alias for a bare git repo. The alias to access
it is dotfiles
instead of plain git
. It avoids conflict with other git repos
in your ~/ folder.
echo "alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'" >> $HOME/.zshrc
Don't forget to launch a new shell to update the modifications.
Create a .gitignore and ignore .dotfiles
echo ".dotfiles" >> .gitignore
Yank everything !
git clone --bare https://github.com/notKamui/dotfiles $HOME/.dotfiles
Apply the config.
dotfiles checkout
If there's an error message, it's probably due to an existing .zshrc or
.gitignore. If so, yeet them and checkout again.
Then, hide the untracked files.
dotfiles config --local status.showUntrackedFiles no
You need to update the cache to make sure the fonts in .fonts are installed properly
fc-cache -v