diff options
| author | Aram Drevekenin <aram@poor.dev> | 2024-03-20 18:34:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-20 18:34:50 +0100 |
| commit | ec6d627b06dac2aaf94b1e2f8e55b889986bcc08 (patch) | |
| tree | af6d382a4c44027329384b25a704037bf867ae7f /zellij-utils/src/input | |
| parent | docs(changelog): various race fixes (diff) | |
| download | sl0ppij-ec6d627b06dac2aaf94b1e2f8e55b889986bcc08.tar.gz sl0ppij-ec6d627b06dac2aaf94b1e2f8e55b889986bcc08.tar.xz sl0ppij-ec6d627b06dac2aaf94b1e2f8e55b889986bcc08.zip | |
chore(integrations): zpipe alias (#3210)
* chore(completions): zpipe alias
* chore(integrations): zpipe alias
Diffstat (limited to 'zellij-utils/src/input')
| -rw-r--r-- | zellij-utils/src/input/plugins.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zellij-utils/src/input/plugins.rs b/zellij-utils/src/input/plugins.rs index eabdd3e8..ec68bd59 100644 --- a/zellij-utils/src/input/plugins.rs +++ b/zellij-utils/src/input/plugins.rs @@ -25,6 +25,9 @@ impl PluginAliases { pub fn from_data(aliases: BTreeMap<String, RunPlugin>) -> Self { PluginAliases { aliases } } + pub fn list(&self) -> Vec<String> { + self.aliases.keys().cloned().collect() + } } /// Plugin metadata |
