aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/input/command.rs
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-07-09 16:58:29 +0200
committerGitHub <noreply@github.com>2021-07-09 16:58:29 +0200
commit0ab00e2c6c172927fbcc38fc417264d7c075f2c1 (patch)
tree2c4e125ed5d80d35c1ccdd0a89d01b659628be4f /zellij-utils/src/input/command.rs
parentMerge pull request #609 from zellij-org/force-close (diff)
parentAdd commands to layout (diff)
downloadsl0ppij-0ab00e2c6c172927fbcc38fc417264d7c075f2c1.tar.gz
sl0ppij-0ab00e2c6c172927fbcc38fc417264d7c075f2c1.tar.xz
sl0ppij-0ab00e2c6c172927fbcc38fc417264d7c075f2c1.zip
Merge pull request #600 from a-kenji/layout-command
Add commands to layout
Diffstat (limited to 'zellij-utils/src/input/command.rs')
-rw-r--r--zellij-utils/src/input/command.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/zellij-utils/src/input/command.rs b/zellij-utils/src/input/command.rs
index b66c7500..2054f208 100644
--- a/zellij-utils/src/input/command.rs
+++ b/zellij-utils/src/input/command.rs
@@ -11,6 +11,7 @@ pub enum TerminalAction {
#[derive(Clone, Debug, Deserialize, Default, Serialize, PartialEq, Eq)]
pub struct RunCommand {
+ #[serde(alias = "cmd")]
pub command: PathBuf,
#[serde(default)]
pub args: Vec<String>,