diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2021-07-06 23:37:53 +0200 |
|---|---|---|
| committer | a-kenji <aks.kenji@protonmail.com> | 2021-07-06 23:42:05 +0200 |
| commit | af86edcf99efafcae243b6e2cefaeeff3ead2b88 (patch) | |
| tree | 507895c188e4f32dc2c002dbee2b0acacbaf605a | |
| parent | Merge pull request #598 from zellij-org/rm-feat-test (diff) | |
| download | sl0ppij-af86edcf99efafcae243b6e2cefaeeff3ead2b88.tar.gz sl0ppij-af86edcf99efafcae243b6e2cefaeeff3ead2b88.tar.xz sl0ppij-af86edcf99efafcae243b6e2cefaeeff3ead2b88.zip | |
Change name of `Run` binding for actions
* Change
```
Run: {command: <path>, args: [ARGS], direction:<direction> }
```
into
```
Run: {cmd: <path>, args: [ARGS], direction:<direction> }
```
| -rw-r--r-- | zellij-utils/src/input/command.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zellij-utils/src/input/command.rs b/zellij-utils/src/input/command.rs index ca505ea2..b66c7500 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<String>, |
