zsh-users / antigen

The plugin manager for zsh.
http://antigen.sharats.me
MIT License
8.01k stars 279 forks source link

oh-my-zsh tmux plugin does not work when using antigen #744

Open NellyWhads opened 1 year ago

NellyWhads commented 1 year ago

Description

When enabling the oh-my-zsh tmux plugin, tmux tab completion is broken (commands, flags, and session names). This behaviour has been seen on the default versions of tmux and zsh available on Ubuntu 18.04 and Ubuntu 22.04 respectively.

Steps to reproduce

Minimal steps to reproduce this behavior.

1 - install tmux 2 - install zsh 3a - enable tmux plugin using traditional oh-my-zsh installation (reset .zshrc file) 3b - enable tmux plugin using antigen bare minimum configuration for oh-my-zsh tmux plugin

Expected behavior:

- Tab completion works in both 3a and 3b

Observed behavior

Software version

Matched in pairs as per the two tests

Configuration

.zshrc for vanilla oh-my-zsh test: This template with the additional tmux plugin enabled here.

.zshrc for antigen test:

source [path_to_antigen.zsh]
antigen use oh-my-zsh
antigen bundle tmux
antigen apply