There's a few special files in the hierarchy.
- bin/: Anything in
bin/will get added to your
$PATHand be made available everywhere.
- topic/*.zsh: Any files ending in
.zshget loaded into your environment.
- topic/path.zsh: Any file named
path.zshis loaded first and is expected to setup
- topic/completion.zsh: Any file named
completion.zshis loaded last and is expected to setup autocomplete.
- topic/*.symlink: Any files ending in
*.symlinkget symlinked into your
$HOME. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you run
I borrowed the scripts from @holman's excellent dotfiles.