Marco Vermeulen
289de87099
Allow qualification of help command.
...
This allows the help command to provide help on subcommands.
2021-10-25 19:23:39 +01:00
Marco Vermeulen
9cb6bd10c6
More robust handling of native command parameters.
2021-10-25 19:20:56 +01:00
Hector
4bf5b70f8a
Fix test errors after commit 8c889a5 (bash completion w/posix) ( #1001 )
2021-10-17 10:24:00 +01:00
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
Marco Vermeulen
d81181cc88
Enable native binary support.
...
Looks for native binaries in the libexec folder.
2021-10-15 23:55:29 +01:00
Marco Vermeulen
c10cf22565
Fix broken test fixture.
2021-10-10 21:50:48 +01:00
Marco Vermeulen
b02a937d8a
Bring back improved archive composition.
...
This reverts commit dc95e2dbaa .
2021-10-10 21:24:07 +01:00
Marco Vermeulen
755cba0a07
Drop beta query parameter for selfupdate.
2021-10-07 23:20:21 +01:00
Marco Vermeulen
dc95e2dbaa
This reverts sdk refactor of binary archive.
2021-10-07 23:04:18 +01:00
Frank Delporte
448d3c00eb
Extended detection of platform on Raspberry Pi ( #991 )
...
Added split between LinuxARM32SF and LinuxARM32HF as checked on multiple Raspberry Pi boards.
2021-10-07 20:07:37 +01:00
Marco Vermeulen
5f5b3d1e10
Fix broken md5 checksum test.
2021-10-06 22:54:56 +01:00
Marco Vermeulen
8d92a864cf
Some minor improvements to the checksum feature file.
2021-10-06 22:42:08 +01:00
Marco Vermeulen
ba21c19de5
Silence noisy logs.
2021-10-06 22:23:55 +01:00
Marco Vermeulen
e27dd14052
Prepare and consume files in new stage build folder.
2021-10-06 22:23:55 +01:00
Hector Geraldino
f7638f31c8
SHA checksums
2021-10-04 23:03:43 +01: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
Daniel Dietrich
bff371fc0e
Considering env var ZSH_DISABLE_COMPFIX during initialization
2021-09-05 12:25:43 +01:00
Hector Geraldino
3ca8f77230
PR feedback
2021-09-04 13:15:32 +01:00
Hector Geraldino
970ab3188f
Save HTTP response headers under ${SDKMAN}/var/metadata
2021-09-04 13:15:32 +01:00
Marco Vermeulen
b7a7032550
Add paging behaviour to version list.
2021-08-21 14:50:40 +01:00
Andrew Rembrandt
597cda1d0e
Prevent Re-initialization of zsh completion system
...
* Resolves issue with gcloud sdk completions not working
2021-08-11 09:04:01 +01:00
Felipe Santos
e557c9a22a
Add selfupdate_enable config and respect auto_answer when auto updating
...
This also deprecates the auto_selfupdate config.
2021-07-12 22:24:02 +01:00
Felipe Santos
b18d8aaacb
Fix config command when using vscode ( #926 )
2021-06-17 18:01:39 +02:00
Marco Vermeulen
2b7b15793b
Autoload compinit for ZSH completion.
2021-06-15 22:55:17 +01:00
Marco Vermeulen
290365a875
Do not enable auto-completion on unsupported shells.
2021-05-26 17:31:47 +01:00
Marco Vermeulen
46b14f05ce
Change date of all Apache 2.0 copyright headers.
2021-05-22 16:17:54 +01:00
Marco Vermeulen
1acab1efa1
Remove obsolete completion command function.
2021-05-22 16:14:32 +01:00
Marco Vermeulen
ad65159f69
Remove completion from help command.
2021-05-18 20:31:04 +01:00
Marco Vermeulen
2a87e8afbc
Source appropriate completion script if config enabled.
2021-05-18 20:29:50 +01:00
Marco Vermeulen
3ddf84c30c
Make completion command a dummy function.
...
This is to honour those who have:
`source <(sdk completion xxx)`
in their profile.
2021-05-18 20:29:19 +01:00
Oliver Weiler
c320fefc3a
Forgo all checks when running __sdk_completion ( #913 )
...
* Forgo all checks when running __sdk_completion
* Remove accidentally duplicated code
2021-05-17 20:55:17 +02:00
Joe Horsnell
cc571d30fc
Make the env install command set the shell versions ( #906 )
...
Fixes #905 .
2021-04-30 15:32:52 +02:00
Oliver Weiler
28317a9acc
Use match instead of BASH_REMATCH when using zsh ( #897 )
...
* Use match instead of BASH_REMATCH when using zsh
* Replace "conditional expression" with if-else
2021-04-22 16:33:17 +02:00
Marco Vermeulen
ca918e7b0f
Improve naming around UnitUtils.
2021-03-31 14:18:32 +01:00
Marco Vermeulen
444e84a952
Use single means of determining platform and removes FreeBSD test support.
2021-03-31 14:18:32 +01:00
Felipe Santos
1ea407c8e5
Fix update warn on new shells for update cmd ( #888 )
2021-03-31 11:43:30 +01:00
Oliver Weiler
7547946d94
Remove platform specific code, make tests more deterministic ( #889 )
...
* Remove platform-specific code for use command
* Remove platform-specific code for current command
* Make tests more deterministic
2021-03-31 10:01:16 +01:00
helpermethod
40f184411c
Remove unnecessary changes
2021-03-30 22:47:21 +01:00
helpermethod
e2fdf6bd44
Revert sdkman-use.sh to upstream/master
2021-03-30 22:47:21 +01:00
helpermethod
ffb9787124
Revert changes to sdkman-use.sh
2021-03-30 22:47:21 +01:00
helpermethod
1f617cbe75
Always use the uname stub
2021-03-30 22:47:21 +01:00
helpermethod
d2d2aee464
Only move setting the executable bit to the build method
2021-03-30 22:47:21 +01:00
helpermethod
eeda00a15b
Initialise uname stub in prepareIn but don't set executable bit
2021-03-30 22:47:21 +01:00
helpermethod
d275d945ae
Fix broken bugs on Mac OS X
2021-03-30 22:47:21 +01:00
Marco Vermeulen
e3c33d02bc
Add zsh completion.
2021-03-26 12:05:57 +00:00
Raphael
bceaaac6c0
Fix: always env clear when leaving dir ( #878 )
...
* Fix: always env clear when leaving dir
The previous logic did not clear the environment when the user switches between two directories with `.sdmanrc`.
Now we always clear (if an environment was set), and _then_ load the new one, if any.
* Add test for switching auto_env directories.
2021-03-04 13:32:25 +00:00
Marco Vermeulen
52cb0a6c7c
Fix broken tests on Mac OSX.
2021-02-21 15:04:18 +00: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
ea1f67e950
Add edit command ( #874 )
...
* Add edit command
* Fix failing test
* Prevent EDITOR from being overwritten
* Split up error message
* Add missing test case
Co-authored-by: Oliver Weiler <oliver.weiler@meinestadt.de >
2021-02-16 20:58:29 +00:00
Marco Vermeulen
e88bb5131b
Further improvements to upgrade wording.
2021-02-13 21:49:24 +00:00