Commit graph

12 commits

Author SHA1 Message Date
Raphael Reitzig
88c81dc479 Implements a nasty hack for issue #19: mangle sdkman-init. 2018-07-19 01:22:19 +02:00
Raphael Reitzig
597945453d Offline mode now works.
- Initialization now delegates do sdkman-init.sh
 - bash-runner now catches all SDKMAN_* environment variables.

Fixes issue #17
Unearthes issue #19
2018-07-18 23:35:32 +02:00
Raphael Reitzig
bf13d2fee1 Refactoring: Adhere better to conventions.
Define function sdk in functions/sdk.fish and
perform init in conf.d/sdk.fish.
2018-07-18 21:46:23 +02:00
Raphael Reitzig
debd5e2d66 Do not add uninstalled SDKs to PATH.
Fixes issue #10 pt1.
2018-07-14 22:26:38 +02:00
Raphael Reitzig
e8b8b52080 Adds a test script.
Should protect against some of the most rudimentary regressions.
2018-07-14 19:55:14 +02:00
Raphael Reitzig
7545bcd3a4 Correctly handle sdk being interactive. Forward exit code correctly.
Fixes issue #9.
2018-07-14 14:44:47 +02:00
Raphael Reitzig
11385c6385 Copy PATH of the sdk-running bash to the current fish.
Solves issue #8.
2018-07-14 11:58:01 +02:00
Raphael Reitzig
7bd0bb1be3 Don't blow up PATH for subshells. 2018-07-14 11:00:36 +02:00
Raphael Reitzig
fb234a5e61 A little doc polish. 2018-07-12 23:46:37 +02:00
Raphael Reitzig
2f6b2dc1b6 Do not declare function/command sdk if sdkman is not installed.
Closes issue #6.
2018-07-12 00:26:34 +02:00
Raphael Reitzig
92a068dadc Adapts to current sdkman; improvements.
- All commands now don't tab-complete after the maximum
   number of parameters.
 - Specifies aliases in a more compact way.
 - Adds commands update, upgrade.
 - Removes some dead code.

Fixes issues #1, #2, #5
2018-07-11 23:03:16 +02:00
Raphael Reitzig
f6eaf49d1f Initial commit 2018-07-11 02:37:43 +02:00