This repository is organized to be used with GNU Stow.
❯ git clone https://github.com/sirhc/dotfiles.git ~/.dotfiles
❯ cd ~/.dotfiles
❯ stow -v --dotfiles zsh # for example; or bc, tig, …
There are three classes of functions and plugins I maintain in my zsh profile.
- Stuff I've written myself.
- Individual files copied from elsewhere (e.g., Oh My Zsh).
- Full clones of plugins published elsewhere.
The first class is maintained directly in this repository; the second class is maintained by the update-functions
and
update-plugins
targets in the Makefile; finally, the third class is maintained in an
.mrconfig
file.
The completion functions I keep in this repository are those I find in other repositories and just want to copy. For packages that include their own completion functions, I use those. Other packages can generate their own completion functions, so these can be installed on the system rather than kept here.