Sarah's dotfiles
After cloning, run ./setup.sh
setup.sh will:
- Back up any existing dotfiles to
~/backup_dotfiles(creating this directory if it doesn't exist) - Install all programs in
core/by symlinking their configs into the appropriate location (e.g.$HOME/.config/program) - Install any optional programs that are enabled in
optional/enabledin the same way. Uncomment program names to enable them, comment them out to disable them. (These settings are local and not tracked by github.)
Or, you can also run setups (core/program/setup_program.sh or optional/program/setup_program.sh) within individual program folders instead. These are set up to be as independent as possible, but some of them still have some dependencies (e.g. aliases).
Currently, core programs are sh (shell-agnostic PATH, etc), bash, vim, neovim, and tmux. Optional programs are sway and vscode.
- Create a directory under
core/oroptional/ - Add a
setup_program.shscript that symlinks config files from~/dotfiles/into the appropriate configuration location (e.g.$HOME,$HOME/.config/program-- this is customized on a per-program basis insetup_program.sh) - If the program is optional, either edit
optional/enableddirectly to include the program (commented out for disabled, un-commented for enabled) or it will auto-update next timesetup.shis run - Update this readme to reflect the new program