Marco Vermeulen
1841e6b324
Update version of production to 5.11.2
5.11.2
2021-04-29 17:17:51 +01:00
Marco Vermeulen
afccde0db1
Fix broken travis build.
2021-04-28 12:14:24 +01:00
Marco Vermeulen
d10df88e9c
Remove unused scripts.
2021-04-27 19:10:48 +01:00
Marco Vermeulen
a4624277ac
Decommission Bintray binaries.
2021-04-27 19:10:48 +01: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
b2fb3d76e1
Update release script.
2021-04-12 13:50:11 +01:00
helpermethod
5452944ba9
Add completion for sdk install
2021-03-31 14:19:27 +01: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
0d91e98401
Remove docker login from travis pipeline.
2021-03-26 12:05:57 +00:00
Marco Vermeulen
ee5ca3b656
Remove mongo dependency from travis pipeline.
2021-03-26 12:05:57 +00:00
Marco Vermeulen
e3c33d02bc
Add zsh completion.
2021-03-26 12:05:57 +00: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
Marco Vermeulen
36b96a9ed0
Login to dockerhub in CI.
2021-03-07 13:32:21 +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
Marco Vermeulen
514ea4b672
Upgrade to Gradle 6.8.2
2021-02-13 21:43:47 +00:00
Marco Vermeulen
3682db3477
Improve wording of upgrade command.
2021-02-13 21:39:46 +00:00
Marco Vermeulen
97f166cc70
Improve output for default, home and use tips.
2021-02-13 21:15:43 +00:00
Marco Vermeulen
9e35cdb1b4
Revert "Synced error message with __sdkman_determine_version"
...
This reverts commit 750bea8b
2021-02-13 14:50:56 +00:00
Oliver Weiler
1fde6ae603
Redirect output to stderr
2021-02-04 17:14:46 +00:00
Oliver Weiler
2d205e2c0d
Add contrib folder to ZIP archive
2021-02-04 17:14:46 +00:00
Oliver Weiler
338f1e135b
Revert changes to assemble task
2021-02-04 17:14:46 +00:00
Oliver Weiler
cf83795bdd
Add contrib folder
2021-02-04 17:14:46 +00:00
Oliver Weiler
d8c17d3445
Remove completion for current
2021-02-04 17:14:46 +00:00
Oliver Weiler
a3f33560fd
Add instructions to sdk completion output on how to setup Bash completion
2021-02-04 17:14:46 +00:00
Oliver Weiler
54e9cd8efb
Make completion arguments mandatory
2021-02-04 17:14:46 +00:00
Oliver Weiler
dd4eeb7238
Remove exclamation mark
2021-02-04 17:14:46 +00:00
Oliver Weiler
39357899e1
Improve output for zsh
2021-02-04 17:14:46 +00:00
Oliver Weiler
a51cf5f118
Add shell identifier
2021-02-04 17:14:46 +00:00
Oliver Weiler
fed400ca75
Add completion subcommand to help output
2021-02-04 17:14:46 +00:00
Oliver Weiler
03ac5aca61
Indent completion function
2021-02-04 17:14:46 +00:00
Oliver Weiler
391c3f258b
Fix broken filename
2021-02-04 17:14:46 +00:00
Oliver Weiler
b257917e3a
Add completion subcommand
2021-02-04 17:14:46 +00:00
Gerry Tan
750bea8bd7
Synced error message with __sdkman_determine_version
2021-02-03 22:23:29 +00:00
Gerry Tan
617da42f37
Improved error message when candidate version not found
...
The message now adds an sdk install command to inform user how to correct the error.
This is useful when auto env is enabled, and user not aware their colleague has updated the candidate version.
See more discussion about this PR in this Slack thread: https://sdkman.slack.com/archives/CJK9DMV6V/p1611405973006900
2021-02-03 22:23:29 +00:00
Felipe Santos
7f177bc20d
Also fixes the mv commands
2021-02-03 20:24:09 +00:00
Felipe Santos
4dd4845533
Fix rm asking to remove file on some zsh
2021-02-03 20:24:09 +00:00