Added completions for dt function

This commit is contained in:
Anthony Cicchetti 2019-08-25 17:41:50 -04:00
parent f60e7ed27e
commit 206b5ae3cd

View file

@ -140,6 +140,11 @@ function dt() {
tmux new-session -A -s $session_name
}
function _dt_completion {
reply=($(tmux list-sessions -F '#S'))
}
compctl -K _dt_completion dt
if [[ -a $HOME/.zshsrc ]]; then
source $HOME/.zshsrc
else