bash : combine autocompletes.
This commit is contained in:
parent
331b9b8f18
commit
b1470973ef
|
@ -156,5 +156,4 @@ _archive_list()
|
||||||
autocomplete "$(ls *_*.tar.* 2> /dev/null)"
|
autocomplete "$(ls *_*.tar.* 2> /dev/null)"
|
||||||
}
|
}
|
||||||
|
|
||||||
complete -F _archive_list archive_check
|
complete -F _archive_list archive_check unarchive
|
||||||
complete -F _archive_list unarchive
|
|
||||||
|
|
|
@ -54,5 +54,4 @@ _ta()
|
||||||
autocomplete "$(tmux list-sessions | sed -e 's/:.*//')"
|
autocomplete "$(tmux list-sessions | sed -e 's/:.*//')"
|
||||||
}
|
}
|
||||||
|
|
||||||
complete -F _ta ta
|
complete -F _ta ta tk
|
||||||
complete -F _ta tk
|
|
||||||
|
|
Reference in a new issue