testcases

This commit is contained in:
Ville Rantanen
2022-06-02 21:15:46 +03:00
parent d7efd6906b
commit d8e86e2e94
3 changed files with 72 additions and 13 deletions

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: "$@"
}