Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support adding extra subsets of plugins based on a machine's type #280

Open
unixorn opened this issue Nov 28, 2023 · 1 comment
Open

Support adding extra subsets of plugins based on a machine's type #280

unixorn opened this issue Nov 28, 2023 · 1 comment

Comments

@unixorn
Copy link
Owner

unixorn commented Nov 28, 2023

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

@neiromaster
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants