Dotfiles and maintenance scripts for my various boxen
Simple rules:
- Only files that end in
*.zshare loaded, unless specifically called - Files in
**/config/directories are ignored and should be called individually - Topic files are found in
src/*. Src files (i.e. topics) are other dotfiles outside of the Zsh configuration. .zshenvwill be symlinked to $HOME- Zsh configuration files are found in
zsh/config/* - Files ending in ".symlink" will be symlinked as hidden files in the user's home (e.g. foo.symlink becomes ~/.foo)
- Zsh files are loaded in the following order as part of the Zsh configuration:
.zshenvis loaded, and includes:zsh/config/path.zsh- All
src/**/path.zshfiles zsh/config/config.zshzsh/config/aliases.zsh- All
src/**/*.zshfiles, except forpath.zshandcompletion.zshfiles
.zprofileis loaded in a login session.zshrcis loaded for interactive shells, and includes:zsh/config/completion.zsh- All
src/**/completion.zshfiles zsh/config/prompt.zsh
.zloginis loaded in a login session.zlogoutis loaded on logout from a login session
This will link all symlink files and run all setup.sh files within the dotfiles/ directory.
zdot setup
# May need to run this with a fully qualified command the first time
/path/to/dotfiles/bin/zdot setupThis will run all install.sh files within the dotfiles/ directory.
zdot installThis will run all update.sh files within the dotfiles/ directory.
zdot update