feat: tmux session attach mode (#901)
* feat: tmux session attach mode * feat: example config update * feat: move the comment down to be relevant * feat: fix tmux not attaching from non-tmux env when using create_and_switch_client * feat: make matching on tmux modes as described in suggestions * feat: make tmux_session_attach_mode private * feat: remove tmux mode cli option * feat: wrap default value in quotation marks for tmux session mode * feat: renames for tmux session management options * feat: try to make tmux session mode description better
This commit is contained in:
@@ -118,7 +118,7 @@ fn run() -> Result<()> {
|
||||
if config.run_in_tmux() && env::var("TOPGRADE_INSIDE_TMUX").is_err() {
|
||||
#[cfg(unix)]
|
||||
{
|
||||
tmux::run_in_tmux(config.tmux_arguments()?)?;
|
||||
tmux::run_in_tmux(config.tmux_config()?)?;
|
||||
return Ok(());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user