aboutsummaryrefslogtreecommitdiff
path: root/src/utils/deploy.rs
diff options
context:
space:
mode:
authornotgne22020-10-23 22:14:14 -0700
committernotgne22020-10-23 22:14:14 -0700
commit4084e0516d3903acd80ca465f9906e5d3bce2659 (patch)
tree11ae9ffdea08aedff030eb8a721ff04b008510d7 /src/utils/deploy.rs
parentc55471f1a52fc7cb4c467a3c9718640cdb950a22 (diff)
Enable color for activation command
Diffstat (limited to '')
-rw-r--r--src/utils/deploy.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/deploy.rs b/src/utils/deploy.rs
index 9b2f685..1ef7f11 100644
--- a/src/utils/deploy.rs
+++ b/src/utils/deploy.rs
@@ -112,7 +112,9 @@ pub async fn deploy_profile(
};
let mut c = Command::new("ssh");
- let mut ssh_command = c.arg(format!("ssh://{}@{}", deploy_defs.ssh_user, hostname));
+ let mut ssh_command = c
+ .arg("-t")
+ .arg(format!("ssh://{}@{}", deploy_defs.ssh_user, hostname));
for ssh_opt in &deploy_data.merged_settings.ssh_opts {
ssh_command = ssh_command.arg(ssh_opt);