Raphael Reitzig
be5efd6aaf
Forgot that Travis wouldn't have the hack-assist folder.
...
Relates to issue #19
2018-07-19 01:31:13 +02:00
Raphael Reitzig
88c81dc479
Implements a nasty hack for issue #19 : mangle sdkman-init.
2018-07-19 01:22:19 +02:00
Raphael Reitzig
8a14b1d570
Refactoring: Define sdkman-init variable only once and "hide" it.
...
Also nicer test output.
2018-07-19 01:19:05 +02:00
Raphael Reitzig
ba46492522
Adds test case for issue #19 .
2018-07-19 00:02:31 +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
e01e9a4bea
Refactoring: bash calling in its own function.
...
Also:
- Fixes Travis build reg. bf13d2f
.
- Wrapper test now cleans up after itself.
2018-07-18 22:05:57 +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
b6a1469ed5
Completion of install now admits a path for local installs.
...
Resolves issue #16 .
2018-07-18 21:35:24 +02:00
Raphael Reitzig
d276be6768
Improves behaviour if SDKMAN! is not installed.
...
Instead of creating all functions and completions and
_add_ one to handle the special case, just don't define
all the things.
2018-07-18 21:19:32 +02:00
Raphael Reitzig
74924f8961
Describes static command options.
...
Resolves issue #15 .
Also makes completion specifications more readable (ymmv).
2018-07-18 20:41:04 +02:00
Raphael Reitzig
08404e48fa
Adds dummy completions instead of available versions.
...
Should reduce confusion until issue #4 is handled.
2018-07-16 23:12:31 +02:00
Raphael Reitzig
e354f8abe6
Search for installed candidates now handles non-standard $HOME.
...
Fixes issue #14 .
2018-07-16 12:30:49 +02:00
Raphael Reitzig
fd1b0b94ce
Propose only installed candidates where appropriate.
...
Resolves issue #13 .
2018-07-15 12:41:44 +02:00
Raphael Reitzig
e13d3f2f50
Adds completion tests.
...
Resolves issue #7 .
2018-07-15 12:27:48 +02:00
Raphael Reitzig
c8a1208c51
Fixes a bug in completion.
...
Retrieving the version list would error out of the given
candidate was never installed (or invalid).
2018-07-15 12:09:18 +02:00
Raphael Reitzig
2a51c81345
Changes Travis badge to use master only.
2018-07-14 23:18:17 +02:00
Raphael Reitzig
8ca535467f
Do not add uninstalled SDKs to PATH on startup.
...
Fixes issue #10 pt1.
2018-07-14 22:50:26 +02:00
Raphael Reitzig
9b88775e6c
Fixes test call
2018-07-14 22:44:18 +02:00
Raphael Reitzig
81eecf50d8
Missing test.
2018-07-14 22:32:52 +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
6f86eadfdb
Adds Travis config.
2018-07-14 21:33:55 +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
ce5e7fa11b
Don't auto-complete if SDKMAN isn't installed.
...
cf. issue #6
2018-07-11 23:38:56 +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
6f855f1c87
Fixes path to look for installed versions.
...
Fixes issue #3 .
2018-07-11 02:53:33 +02:00
Raphael Reitzig
f6eaf49d1f
Initial commit
2018-07-11 02:37:43 +02:00