Skip to content

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

@unixorn

Description

@unixorn

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions