Commit Graph

13 Commits

Author SHA1 Message Date
Oliver Weiler
f473322276 Add tests for Bash programmable completion (#998)
* Add tests for Bash completion
* Fix broken uname stub setup
* Let test task depend on prepareContrib
* Quote array expansion
2021-10-16 16:41:58 +01:00
Ches Martin
acd00b20a3 Fix bash completion of candidates for install (#993)
The `read` built-in uses IFS for word delimiters, and `-d` for
delimiting _where to stop reading_. We are parsing CSV, so the
combination of `IFS= -d,` results in only the first word.

Further, `read -a` fills an array variable so we don't need a loop.
2021-10-13 10:52:09 +02:00
Oliver Weiler
8c889a5ee4 Make Bash completion work with POSIX mode (#978)
* Make Bask completion work with POSIX mode

* Fix broken assignment
2021-09-19 15:45:14 +02:00
Szymon Siwek
8d7d101eec fix for bash-4 (sdkman#923)
bash-4 does not support process substitution.
Another occurence.
2021-07-19 21:11:56 +01:00
Szymon Siwek
e47441db64 fix for bash-4 (#923)
bash-4 does not support process substitution
2021-06-24 17:13:07 +01:00
Marco Vermeulen
6b47af3096 Remove completion from completion script :-) 2021-05-22 16:14:55 +01:00
Marco Vermeulen
c6e8c8ff9a Add shebang to bash completion script. 2021-05-18 20:27:33 +01:00
Marco Vermeulen
d3edab844f Change comment in completion scripts. 2021-05-18 20:27:11 +01:00
liviu-vasut
c04c8bf86c added missing completions (#910)
Co-authored-by: Liviu Vasut <liviu.vasut@softvision.ro>
2021-05-13 14:01:39 +02:00
helpermethod
5452944ba9 Add completion for sdk install 2021-03-31 14:19:27 +01:00
Oliver Weiler
574d292059 Add autocompletion for use subcommand (#879)
* Add autocompletion for the use subcommand

* Fix typo

Co-authored-by: Oliver Weiler <oliver.weiler@meinestadt.de>
2021-03-07 16:41:29 +01:00
Oliver Weiler
f90f516e95 Add edit command to help output and Bash completion (#875)
* Add edit command to help output

* Add edit command to Bash completion

* Rename edit command to config

Co-authored-by: Oliver Weiler <oliver.weiler@meinestadt.de>
2021-02-17 19:28:24 +00:00
Oliver Weiler
cf83795bdd Add contrib folder 2021-02-04 17:14:46 +00:00