News for hackers. Stuff that matters.
Re:Unofficial guide to dotfiles on GitHub by djhworld on Saturday December 12, 2015 @07:58AM (#10722599)
I have my own home-rolled "solution" to managing dotfiles, I'm a little uncomfortable checking them into Github though, as there's a slight risk some security credentials or something could leak without me realising.

Unless you have private repos I guess.

My solution is to use Dropbox to store all my configuration files, then use symlinks to the default locations.

Re:Unofficial guide to dotfiles on GitHub by Xephyrous on Saturday December 12, 2015 @10:04AM (#10722940)
If you don't already use it, you should check out GNU Stow as a tool to manage those symlinks. You just make a directory (or directories) which mirrors your home folder, but with only the files you want to store in dropbox, and Stow will generate symlinks in the appropriate places.

https://www.gnu.org/software/stow/

Re:Unofficial guide to dotfiles on GitHub by jnbiche on Saturday December 12, 2015 @10:15AM (#10722970)
Just put your passwords in a separate `.environment` file and source it in your main file. Make sure the `.environment` file is in `.gitignore` (although there should be no reason to put it in your repo to begin with).

source $HOME/.environment

Done.

Re:Unofficial guide to dotfiles on GitHub by manojlds on Saturday December 12, 2015 @08:22AM (#10722663)
Re:Unofficial guide to dotfiles on GitHub by metachris on Saturday December 12, 2015 @10:27AM (#10723015)
BitBucket has free private repos