News for hackers. Stuff that matters.
Re:Dotfiles are your Digital Backpack by fps on Tuesday August 04, 2015 @09:53AM (#10003367)
Many programs (like git) respect the environment variable $XDG_CONFIG_HOME, which allows you to set the location of your 'dotfiles' to a different directory session-wide. This means you don't need to make your entire home directory a single git repo.

My dotfiles repo (https://github.com/fredsmith/dotfiles/) uses this to maintain a clean, readable configuration directory that doesn't mess up my homedir with a bunch of symlinks, and the only installation I have to do is: "ln -s ~/dotfiles/bashrc .bashrc"

Re:Dotfiles are your Digital Backpack by eikenberry on Tuesday August 04, 2015 @05:15PM (#10006328)
What do you do to deal with programs (like vim) that don't respect XDG?
Re:Dotfiles are your Digital Backpack by Tiksi on Wednesday August 05, 2015 @02:29AM (#10008271)
For my "traveling" config, I have this in my .zshrc, it'll work in .bashrc too:

  export VIMRUNTIME=$HOME/.local/vim/
  alias vim="vim -u $HOME/.local/vim/vimrc"
Re:Dotfiles are your Digital Backpack by zajd on Tuesday August 04, 2015 @12:06PM (#10004291)
Awesome information, can't believe I've never heard of this. Goodbye ln -s x 10