11 lines
185 B
Text
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 "$@"
|