zsh-quickstart-kit
zsh-quickstart-kit copied to clipboard
Support adding extra subsets of plugins based on a machine's type
Feature Request
It would be nice to be able to use the same plugins file for development and production/homelab/whatever machines, but load different subsets of plugins
Describe the solution you'd like
A function to check ~/.zqs-machine-type and source .zqs-$ZQS_MACHINE_TYPE-plugins.zsh if they exist. It should set ZQS_MACHINE_TYPE
so that fragment files in the various .zshrc*.d
directories could use that to customize their behavior.
Additional context
This came up in a thread on hangops
I might have misunderstood what exactly is required, but we do have directories with sets of zsh files for configuration and adding plugins. These sets can vary across different machines. It is with these directories that I manage the plugin sets for my MacOS and Linux machines.