diff options
| author | Bacluc <lucius.bachmann@gmx.ch> | 2025-07-21 18:37:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-21 18:37:09 +0200 |
| commit | ff97957f1ccb33b1c1c27e47e2e24789ce2ae33f (patch) | |
| tree | c48c1046d6ed492f4c5d0e8f4499a3dd7996a4b3 /plugins/tmux | |
| parent | 2ac69955e84d5ab2407e848275dfc2768b3b1531 (diff) | |
| download | zsh-ff97957f1ccb33b1c1c27e47e2e24789ce2ae33f.tar.gz zsh-ff97957f1ccb33b1c1c27e47e2e24789ce2ae33f.tar.bz2 zsh-ff97957f1ccb33b1c1c27e47e2e24789ce2ae33f.zip | |
feat(tmux): avoid autostart inside `zed` editor (#13220)
Diffstat (limited to 'plugins/tmux')
| -rw-r--r-- | plugins/tmux/tmux.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh index d2729ec09..4c184c2d0 100644 --- a/plugins/tmux/tmux.plugin.zsh +++ b/plugins/tmux/tmux.plugin.zsh @@ -188,7 +188,7 @@ function _tmux_directory_session() { alias tds=_tmux_directory_session # Autostart if not already in tmux and enabled. -if [[ -z "$TMUX" && "$ZSH_TMUX_AUTOSTART" == "true" && -z "$INSIDE_EMACS" && -z "$EMACS" && -z "$VIM" && -z "$INTELLIJ_ENVIRONMENT_READER" ]]; then +if [[ -z "$TMUX" && "$ZSH_TMUX_AUTOSTART" == "true" && -z "$INSIDE_EMACS" && -z "$EMACS" && -z "$VIM" && -z "$INTELLIJ_ENVIRONMENT_READER" && -z "$ZED_TERM" ]]; then # Actually don't autostart if we already did and multiple autostarts are disabled. if [[ "$ZSH_TMUX_AUTOSTART_ONCE" == "false" || "$ZSH_TMUX_AUTOSTARTED" != "true" ]]; then export ZSH_TMUX_AUTOSTARTED=true |
