A collection of config files & setup scripts
Cloned to $HOME/dotfilesp
:
Usage: ./setup.sh [-c] [-z] [-d] [-r] [-g] [-b] [-m] [-y]
-c common utilities: vim, tmux, htop, python
-z zsh
-d dotfiles
-r ROS
-g Google Chrome
-b Beaglebone libraries
-m Miniconda
-y Yarn (+nodejs)
Dotfile linking is handled by scripts/linker.sh
, which is set up to enable
system-specific configuration.
Linking goes something like this:
scripts/linker.sh
is 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
.