bash : combine autocompletes.

This commit is contained in:
Dmitry Voronin 2023-10-23 00:57:46 +03:00
parent 331b9b8f18
commit b1470973ef
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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