From 15510b728060cae3a85264a809a9882e693c2961 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Sun, 4 Aug 2019 08:59:14 +0300 Subject: [PATCH] Don't set the tmux title Setting the window title prevents automatic rename --- src/steps/tmux.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/steps/tmux.rs b/src/steps/tmux.rs index 381bb6ef..83976f01 100644 --- a/src/steps/tmux.rs +++ b/src/steps/tmux.rs @@ -41,7 +41,7 @@ fn new_session(tmux: &Path, session_name: &str) -> Result { fn run_in_session(tmux: &Path, command: &str) -> Result<(), Error> { Command::new(tmux) - .args(&["new-window", "-a", "-t", "topgrade:1", "-n", "local", command]) + .args(&["new-window", "-a", "-t", "topgrade:1", command]) .env_remove("TMUX") .spawn() .context(ErrorKind::ProcessExecution)? @@ -90,7 +90,7 @@ pub fn run_remote_topgrade(hostname: &str, ssh: &Path) -> Result<(), Error> { hostname = hostname ); Command::new(which("tmux").unwrap()) - .args(&["new-window", "-a", "-t", "topgrade:1", "-n", hostname, &command]) + .args(&["new-window", "-a", "-t", "topgrade:1", &command]) .env_remove("TMUX") .spawn() .context(ErrorKind::ProcessExecution)?