diff options
| author | Aram Drevekenin <aram@poor.dev> | 2026-02-24 13:10:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-24 13:10:40 +0100 |
| commit | 8cd6286c3ffc10d14fdafd5005fa89b0f7fdcd44 (patch) | |
| tree | c6341f5e3e251ae17db0c3427ddaf1e54d4fa91c /zellij-utils/src | |
| parent | Allow closing replaced panes when opening panes in place (#4760) (diff) | |
| download | sl0ppij-8cd6286c3ffc10d14fdafd5005fa89b0f7fdcd44.tar.gz sl0ppij-8cd6286c3ffc10d14fdafd5005fa89b0f7fdcd44.tar.xz sl0ppij-8cd6286c3ffc10d14fdafd5005fa89b0f7fdcd44.zip | |
remove sequence plugin (#4761)
Diffstat (limited to 'zellij-utils/src')
10 files changed, 0 insertions, 228 deletions
diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs index afe198b8..7b64e147 100644 --- a/zellij-utils/src/cli.rs +++ b/zellij-utils/src/cli.rs @@ -630,34 +630,6 @@ tail -f /tmp/my-live-logfile | zellij pipe --name logs --plugin https://example. #[clap(short('c'), long, value_parser, display_order(4))] plugin_configuration: Option<PluginUserConfiguration>, }, - /// Send commands to the sequence plugin (sugar for: zellij pipe --plugin zellij:sequence) - #[clap( - visible_alias = "seq", - override_usage( - r#" -zellij sequence [OPTIONS] [--] <COMMANDS> - -* Run a sequence of commands: - -zellij sequence -- 'echo hello && echo world' - -* Pipe commands from STDIN: - -echo 'echo hello && echo world' | zellij sequence - -* Wait for the sequence to complete before returning: - -zellij sequence --blocking -- 'echo hello && echo world' -"# - ) - )] - Sequence { - /// The commands to run (if blank, will listen to STDIN) - payload: Option<String>, - /// Block until the sequence finishes before exiting - #[clap(short, long, value_parser, takes_value(false), default_value("false"))] - blocking: bool, - }, } #[derive(Debug, Subcommand, Clone, Serialize, Deserialize)] diff --git a/zellij-utils/src/consts.rs b/zellij-utils/src/consts.rs index ef28b9a9..12cc5c2a 100644 --- a/zellij-utils/src/consts.rs +++ b/zellij-utils/src/consts.rs @@ -138,7 +138,6 @@ mod not_wasm { add_plugin!(assets, "about.wasm"); add_plugin!(assets, "share.wasm"); add_plugin!(assets, "multiple-select.wasm"); - add_plugin!(assets, "sequence.wasm"); add_plugin!(assets, "layout-manager.wasm"); assets }; diff --git a/zellij-utils/src/input/plugins.rs b/zellij-utils/src/input/plugins.rs index f2e2c1e6..69af52f9 100644 --- a/zellij-utils/src/input/plugins.rs +++ b/zellij-utils/src/input/plugins.rs @@ -67,7 +67,6 @@ impl PluginConfig { || tag == "about" || tag == "share" || tag == "multiple-select" - || tag == "sequence" || tag == "layout-manager" { Some(PluginConfig { diff --git a/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string.snap b/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string.snap index 9fa94e0b..bc5feeff 100644 --- a/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string.snap +++ b/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string.snap @@ -129,12 +129,6 @@ keybinds clear-defaults=true { } SwitchToMode "normal" } - bind "q" { - LaunchPlugin "zellij:sequence" { - floating true - } - SwitchToMode "normal" - } bind "s" { LaunchOrFocusPlugin "zellij:share" { floating true @@ -268,7 +262,6 @@ plugins { cwd "/" } plugin-manager location="zellij:plugin-manager" - sequence location="zellij:sequence" session-manager location="zellij:session-manager" status-bar location="zellij:status-bar" strider location="zellij:strider" diff --git a/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string_with_comments.snap b/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string_with_comments.snap index 3d9cd208..26a1be67 100644 --- a/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string_with_comments.snap +++ b/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string_with_comments.snap @@ -129,12 +129,6 @@ keybinds clear-defaults=true { } SwitchToMode "normal" } - bind "q" { - LaunchPlugin "zellij:sequence" { - floating true - } - SwitchToMode "normal" - } bind "s" { LaunchOrFocusPlugin "zellij:share" { floating true @@ -271,7 +265,6 @@ plugins { cwd "/" } plugin-manager location="zellij:plugin-manager" - sequence location="zellij:sequence" session-manager location="zellij:session-manager" status-bar location="zellij:status-bar" strider location="zellij:strider" diff --git a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__default_config_with_no_cli_arguments.snap b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__default_config_with_no_cli_arguments.snap index 4bfd7dc2..d794c05f 100644 --- a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__default_config_with_no_cli_arguments.snap +++ b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__default_config_with_no_cli_arguments.snap @@ -4483,37 +4483,6 @@ Config { bare_key: Char( 'q', ), - key_modifiers: {}, - }: [ - LaunchPlugin { - plugin: RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "sequence", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - should_float: true, - should_open_in_place: false, - close_replaced_pane: false, - skip_cache: false, - cwd: None, - }, - SwitchToMode { - input_mode: Normal, - }, - ], - KeyWithModifier { - bare_key: Char( - 'q', - ), key_modifiers: { Ctrl, }, @@ -6111,18 +6080,6 @@ Config { ), initial_cwd: None, }, - "sequence": RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "sequence", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, "session-manager": RunPlugin { _allow_exec_host_cmd: false, location: Zellij( diff --git a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_env_vars_override_config_env_vars.snap b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_env_vars_override_config_env_vars.snap index 9b47705b..4151c52a 100644 --- a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_env_vars_override_config_env_vars.snap +++ b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_env_vars_override_config_env_vars.snap @@ -4483,37 +4483,6 @@ Config { bare_key: Char( 'q', ), - key_modifiers: {}, - }: [ - LaunchPlugin { - plugin: RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "sequence", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - should_float: true, - should_open_in_place: false, - close_replaced_pane: false, - skip_cache: false, - cwd: None, - }, - SwitchToMode { - input_mode: Normal, - }, - ], - KeyWithModifier { - bare_key: Char( - 'q', - ), key_modifiers: { Ctrl, }, @@ -6111,18 +6080,6 @@ Config { ), initial_cwd: None, }, - "sequence": RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "sequence", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, "session-manager": RunPlugin { _allow_exec_host_cmd: false, location: Zellij( diff --git a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_keybinds_override_config_keybinds.snap b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_keybinds_override_config_keybinds.snap index b9be4e99..eb5db32b 100644 --- a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_keybinds_override_config_keybinds.snap +++ b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_keybinds_override_config_keybinds.snap @@ -198,18 +198,6 @@ Config { ), initial_cwd: None, }, - "sequence": RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "sequence", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, "session-manager": RunPlugin { _allow_exec_host_cmd: false, location: Zellij( diff --git a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_themes_override_config_themes.snap b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_themes_override_config_themes.snap index a9e97f93..c7e71adf 100644 --- a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_themes_override_config_themes.snap +++ b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_themes_override_config_themes.snap @@ -4483,37 +4483,6 @@ Config { bare_key: Char( 'q', ), - key_modifiers: {}, - }: [ - LaunchPlugin { - plugin: RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "sequence", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - should_float: true, - should_open_in_place: false, - close_replaced_pane: false, - skip_cache: false, - cwd: None, - }, - SwitchToMode { - input_mode: Normal, - }, - ], - KeyWithModifier { - bare_key: Char( - 'q', - ), key_modifiers: { Ctrl, }, @@ -7882,18 +7851,6 @@ Config { ), initial_cwd: None, }, - "sequence": RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "sequence", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, "session-manager": RunPlugin { _allow_exec_host_cmd: false, location: Zellij( diff --git a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_ui_config_overrides_config_ui_config.snap b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_ui_config_overrides_config_ui_config.snap index f124cb6a..b5211847 100644 --- a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_ui_config_overrides_config_ui_config.snap +++ b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_ui_config_overrides_config_ui_config.snap @@ -4483,37 +4483,6 @@ Config { bare_key: Char( 'q', ), - key_modifiers: {}, - }: [ - LaunchPlugin { - plugin: RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "sequence", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - should_float: true, - should_open_in_place: false, - close_replaced_pane: false, - skip_cache: false, - cwd: None, - }, - SwitchToMode { - input_mode: Normal, - }, - ], - KeyWithModifier { - bare_key: Char( - 'q', - ), key_modifiers: { Ctrl, }, @@ -6111,18 +6080,6 @@ Config { ), initial_cwd: None, }, - "sequence": RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "sequence", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, "session-manager": RunPlugin { _allow_exec_host_cmd: false, location: Zellij( |
