summaryrefslogtreecommitdiff
path: root/plugins/tmux
diff options
context:
space:
mode:
authorCarlo Sala <carlosalag@protonmail.com>2025-03-24 20:52:31 +0100
committerGitHub <noreply@github.com>2025-03-24 20:52:31 +0100
commiteeaf9f89b0e8b10a02f16cb6cdd93779c28eb2ea (patch)
treeb04e956e9b1906c657ac65cad280ea8efe613049 /plugins/tmux
parent899af6328b395f1db2e74d09880a1af435a188ca (diff)
downloadzsh-eeaf9f89b0e8b10a02f16cb6cdd93779c28eb2ea.tar.gz
zsh-eeaf9f89b0e8b10a02f16cb6cdd93779c28eb2ea.tar.bz2
zsh-eeaf9f89b0e8b10a02f16cb6cdd93779c28eb2ea.zip
fix(tmux): disable AUTOREFRESH by default (#13034)
Diffstat (limited to 'plugins/tmux')
-rw-r--r--plugins/tmux/README.md2
-rw-r--r--plugins/tmux/tmux.plugin.zsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/tmux/README.md b/plugins/tmux/README.md
index 53607b8ad..39c57f846 100644
--- a/plugins/tmux/README.md
+++ b/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`) |
diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh
index f6de9166f..d2729ec09 100644
--- a/plugins/tmux/tmux.plugin.zsh
+++ b/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