From af86edcf99efafcae243b6e2cefaeeff3ead2b88 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Tue, 6 Jul 2021 23:37:53 +0200 Subject: [PATCH] Change name of `Run` binding for actions * Change ``` Run: {command: , args: [ARGS], direction: } ``` into ``` Run: {cmd: , args: [ARGS], direction: } ``` --- zellij-utils/src/input/command.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/zellij-utils/src/input/command.rs b/zellij-utils/src/input/command.rs index ca505ea2d9..b66c7500e7 100644 --- a/zellij-utils/src/input/command.rs +++ b/zellij-utils/src/input/command.rs @@ -19,6 +19,7 @@ pub struct RunCommand { /// Intermediate representation #[derive(Clone, Debug, Deserialize, Default, Serialize, PartialEq, Eq)] pub struct RunCommandAction { + #[serde(rename = "cmd")] pub command: PathBuf, #[serde(default)] pub args: Vec,