Dotfiles and maintenance scripts for my various boxen
Simple rules:
- Only files that end in
*.zsh
are 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. .zshenv
will 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:
.zshenv
is loaded, and includes:zsh/config/path.zsh
- All
src/**/path.zsh
files zsh/config/config.zsh
zsh/config/aliases.zsh
- All
src/**/*.zsh
files, except forpath.zsh
andcompletion.zsh
files
.zprofile
is loaded in a login session.zshrc
is loaded for interactive shells, and includes:zsh/config/completion.zsh
- All
src/**/completion.zsh
files zsh/config/prompt.zsh
.zlogin
is loaded in a login session.zlogout
is 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 setup
This will run all install.sh
files within the dotfiles/
directory.
zdot install
This will run all update.sh
files within the dotfiles/
directory.
zdot update