dotfiles/zsh/completions/_dt
2019-10-17 08:34:37 -04:00

11 lines
185 B
Text

#compdef dt
function _dt {
local -a cmdlist
for line in $(tmux list-sessions -F '#S'); do
cmdlist+="${line}"
done
_describe 'Tmux Sessions' cmdlist
}
_dt "$@"