diff --git a/zsh/completions/_dt b/zsh/completions/_dt index 6f009a4..3e475fd 100644 --- a/zsh/completions/_dt +++ b/zsh/completions/_dt @@ -3,7 +3,7 @@ function _dt { local -a cmdlist for line in $(tmux list-sessions -F '#S'); do - cmdlist=($cmdlist "${line}") + cmdlist+="${line}" done _describe 'Tmux Sessions' cmdlist }