This is my personal dotfiles backup in order to be able to easily replicate my desktop configuration. If you want to do the same thing, here are some easy steps.
To setup the backup of your dotfiles :
git init --bare ~/.dotfiles
alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
config config status.showUntrackedFiles no
config remote add origin git@github.com:<git-username>/dotfiles.git
The second command can be written into your
.bashrc
or.zshrc
and the last one suppose that you already created adotfiles
repository on your Github profile.
To replicate your configuration :
alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
git clone --bare <git-repo-url> ~/.dotfiles
config checkout
config config status.showUntrackedFiles no
To manage your dotfiles :
config status
config add <file>
config commit -m <message>
config push
My neovim configuration is made from a LazyVim starter.
My BSPWM config comes from Rxyhn's tokyo project. If you want to check this out you can follow this link to get more information as well as an easy step-by-step install guide.
My vim config was inspired by Chewie's one.