Store configuration for common apps.
Use stow
to manage most app configs. See ./stow.sh
.
- vscode has an install script in the subfolder
./stow.sh <dir>
This script will do a dry-run and prompt before symlinking
./stow.sh -D <dir>
- make a directory with the name of an app
- mirror app config's file structure from
~
into./<app>/
, replacing leading.
withdot-
. For example, if your app's config is stored at~/.myapp/config
, then make./dot-myapp/config
- run
./stow.sh <app>
then the app and make sure it picks up the config
Why store config per app rather than per platform?
- I can easily see which apps have configs stored in this repo
- I want to target which configs are deployed
- Most of my work is on Mac, not the various Linux distros I used to play with
The cat
commands need to quote 'EOF'
to not expand variables. See
https://stackoverflow.com/a/27921346/2958070
- Maybe get a better git prompt and tmux conf from https://github.com/mathiasbynens/dotfiles
- zsh compinstall
- zsh fasd
- zsh typeahead - in ~/.zshrc for now