Skip to content

RobinCamarasa/.dotfiles

Repository files navigation

.dotfiles

This repository contains my .dotfiles for most of the application I am using. My goal is to follow as much possible the XDG Base Directory specification but in a pragmatic way. I recommend no one to use those dot files as they are but can be good for inspiration purposes.

Concerned applications

Deployment

  • Clone as a repo
rm -rf ${HOME}/.vim/plugged; git clone --bare --recurse-submodules "[email protected]:RobinCamarasa/.dotfiles.git" "${HOME}/.dotfiles.git"
  • Create the dotfile alias
alias dotfiles='/usr/bin/git --git-dir="${HOME}/.dotfiles.git/" --work-tree="${HOME}"'
  • Deploy
dotfiles checkout -f && dotfiles submodule update && dotfiles config --local status.showUntrackedFiles no
  • (Optional but recommended) Add your the dotfiles alias in ~/.bash_aliases
echo "alias dotfiles='/usr/bin/git --git-dir=\"\${HOME}/.dotfiles.git/\" --work-tree=\"\${HOME}\"'" >> "${HOME}/.bash_aliases"

Contributor

RobinCamarasa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published