Support for loading in a directories of plugins, aliases, hotkeys
Is your feature request related to a problem? Please describe.
Today if you want to extend your config you must edit singular files such as aliases.yaml, hotkeys.yaml, plugins.yaml, etc. When sharing config with others this requires you to move snippets of config in and out of the same file.
Describe the solution you'd like
Support loading multiple yaml files from directories. For example the following files could all be placed in the plugins/ directory
-
$XDG_CONFIG_HOME/k9s/plugins/flux.yaml -
$XDG_CONFIG_HOME/k9s/plugins/log-jq.yaml -
$XDG_CONFIG_HOME/k9s/plugins/blame.yaml
k9s would then append these configs together and load them in. This would make it simpler to manage your configs with off-the-shelf dotfile management utilities.
@arunderwood Good point! I agree. Thank you for voicing this. This is readily available for plugins. (https://github.com/derailed/k9s/pull/2029) Will need to address aliases/hotkeys next...