diff options
author | notgne2 | 2020-10-23 22:14:14 -0700 |
---|---|---|
committer | notgne2 | 2020-10-23 22:14:14 -0700 |
commit | 4084e0516d3903acd80ca465f9906e5d3bce2659 (patch) | |
tree | 11ae9ffdea08aedff030eb8a721ff04b008510d7 | |
parent | c55471f1a52fc7cb4c467a3c9718640cdb950a22 (diff) |
Enable color for activation command
-rw-r--r-- | src/utils/deploy.rs | 4 |
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); |