aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2022-10-17 19:39:37 +0200
committerGitHub <noreply@github.com>2022-10-17 19:39:37 +0200
commit271abb3ea2842cadc131ae91a3cd899e320e958e (patch)
treeb20d4231f6d5b46737efe6b60b4e4e0170a87640 /src/main.rs
parentchangelog: Add PR #1800 (diff)
downloadsl0ppij-271abb3ea2842cadc131ae91a3cd899e320e958e.tar.gz
sl0ppij-271abb3ea2842cadc131ae91a3cd899e320e958e.tar.xz
sl0ppij-271abb3ea2842cadc131ae91a3cd899e320e958e.zip
feat(cli): zellij run improvements (#1804)
* feat(cli): move command to the end of the cli arguments * feat(cli): allow naming panes from the command line * fix(cli): adjust actions after pane rename * feat(cli): zellij run completions for fish * feat(cli): zellij run completions for bash and zsh * style(fmt): rustfmt * fix(e2e): fix run test and snapshot * style(fmt): rustfmt
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index fa18f090..3df61c42 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -24,6 +24,7 @@ fn main() {
direction,
cwd,
floating,
+ name,
})) = opts.command
{
let command_cli_action = CliAction::NewPane {
@@ -31,6 +32,7 @@ fn main() {
direction,
cwd,
floating,
+ name,
};
commands::send_action_to_session(command_cli_action, opts.session);
std::process::exit(0);