bash : add usage info for autocomplete.

This commit is contained in:
Dmitry Voronin 2023-10-23 00:36:07 +03:00
parent 8c38272b10
commit ec49e34533

View file

@ -1,3 +1,6 @@
# bash autocomplete.
# usage: complete -F _foo foo
# there are also options like -o nospace. see man for more info.
autocomplete()
{
local commands="$@"