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.gitThe second command can be written into your
.bashrcor.zshrcand the last one suppose that you already created adotfilesrepository 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 noTo manage your dotfiles :
config status
config add <file>
config commit -m <message>
config pushMy 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.