Browse Source

fix(tmux): disable AUTOREFRESH by default (#13034)

Carlo Sala 3 weeks ago
parent
commit
eeaf9f89b0
2 changed files with 2 additions and 2 deletions
  1. 1 1
      plugins/tmux/README.md
  2. 1 1
      plugins/tmux/tmux.plugin.zsh

+ 1 - 1
plugins/tmux/README.md

@@ -31,7 +31,7 @@ The plugin also supports the following:
 
 | Variable                            | Description                                                                                                                    |
 | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
-| `ZSH_TMUX_AUTOREFRESH`              | Automatically refresh global environments (default: `true`)                                                                    |
+| `ZSH_TMUX_AUTOREFRESH`              | Automatically refresh global environments (default: `false`)                                                                   |
 | `ZSH_TMUX_AUTOSTART`                | Automatically starts tmux (default: `false`)                                                                                   |
 | `ZSH_TMUX_AUTOSTART_ONCE`           | Autostart only if tmux hasn't been started previously (default: `true`)                                                        |
 | `ZSH_TMUX_AUTOCONNECT`              | Automatically connect to a previous session if it exits (default: `true`)                                                      |

+ 1 - 1
plugins/tmux/tmux.plugin.zsh

@@ -16,7 +16,7 @@ fi
 # Automatically name the new session based on the basename of PWD
 : ${ZSH_TMUX_AUTONAME_SESSION:=false}
 # Automatically pick up tmux environments
-: ${ZSH_TMUX_AUTOREFRESH:=true}
+: ${ZSH_TMUX_AUTOREFRESH:=false}
 # Set term to screen or screen-256color based on current terminal support
 : ${ZSH_TMUX_DETACHED:=false}
 # Set detached mode