yet another autocomplete reorganization

This commit is contained in:
2022-04-30 22:20:10 +03:00
parent 848f3a37f7
commit f8821fc670
2 changed files with 42 additions and 23 deletions

20
testing/Bakefile Normal file
View File

@@ -0,0 +1,20 @@
completion1() {
echo Args: "$@"
}
_complete_completion1() {
compgen -o plusdirs -f -- "$1"
}
completion2() {
echo Hard coded choices: "$@"
}
_complete_completion2() {
echo "choice1 alternative2"
}
nocompletion() {
echo Args: "$@"
}