A collection of config files & setup scripts
Cloned to $HOME/dotfilesp:
Usage: ./setup.sh [-c] [-z] [-d] [-r] [-g] [-b]
-c common utilities: vim, tmux, htop, python
-z zsh
-d dotfiles
-r ROS (Indigo/Kinetic)
-g Google Chrome
-b Beaglebone libraries
Dotfile linking is handled by scripts/linker.sh, which is set up to enable persistent system-specific configuration overrides without affecting working tree status for shared settings (no messy merging!).
Linking goes something like this:
scripts/linker.shis run fromsetup.sh- Current configuration files (if they exist) are moved to a timestamped directory in
~/dotfilesp/backup/ - A copy of
~/dotfilesp/template/is made to~/dotfilesp/local/- these are mostly one-line config files that source the "real" settings stored in
~/dotfilesp/common/
- these are mostly one-line config files that source the "real" settings stored in
- Symlinks are made to
~/dotfilesp/local/*from the home directory
Explicitly local changes (usually workspace+environment stuff) can then be made in ~/dotfilesp/local, while global ones are tracked in ~/dotfilesp/common.