aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-10-20 02:21:59 -0400
committerJesse Luehrs <doy@tozt.net>2019-10-20 02:21:59 -0400
commit185299b8ba52160cbf76baf2c0e697690fb38ce0 (patch)
tree0263418c96846c9a4b8eeabda20281c837bee055
parent3a63f15c407510196027ba018ecc9d56531a5a84 (diff)
downloadteleterm-185299b8ba52160cbf76baf2c0e697690fb38ce0.tar.gz
teleterm-185299b8ba52160cbf76baf2c0e697690fb38ce0.zip
actually, configuring the command to run in the config file seems fine
it was just env vars that seemed a bit sketchy
-rw-r--r--src/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index d264a69..f9b6588 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -415,10 +415,10 @@ pub struct Command {
#[serde(default = "default_buffer_size")]
pub buffer_size: usize,
- #[serde(skip, default = "default_command")]
+ #[serde(default = "default_command")]
pub command: String,
- #[serde(skip, default = "default_args")]
+ #[serde(default = "default_args")]
pub args: Vec<String>,
}