Commit graph

23 commits

Author SHA1 Message Date
Raphael Reitzig
04ecbe7361 Fix sdk env clear 2021-01-22 00:47:19 +01:00
Raphael Reitzig
ac99d1464c Final macOS incompatibility fix.
Closes issue #29.
2019-11-06 20:52:07 +01:00
Raphael Reitzig
060169f5da Merge branch 'dev' into macos-compat 2019-11-05 04:54:15 +01:00
Raphael Reitzig
415c2a0bb2 Fix reinitialization test. 2019-11-05 03:48:59 +01:00
Raphael Reitzig
12f7d3de77 issue #29: Replace stat with something more portable.
cf. https://unix.stackexchange.com/a/7732/17409
2019-07-31 02:09:47 +02:00
Raphael Reitzig
dccaf0056c Re-initialize if current user changed.
Fixes issue #25; assumes that every user has their own SDKMAN installation.
2019-01-06 18:05:44 +01:00
Raphael Reitzig
083d2d3d9b Merge branch 'master' into dev 2018-11-09 20:35:58 +01:00
Raphael Reitzig
85d10acc47 Preserve all X_HOME environment variables created by SDKMAN!.
Adresses issue #24.
2018-11-09 20:18:01 +01:00
Raphael R
74c0772ac1
Changes location of hacked sdkman init script
Config folder of fisher(man) changed location between v2 and v3.

Pertains to issue #19
2018-10-08 15:34:04 +02:00
Raphael Reitzig
541a69e192 Makes hack for issue #19 a litte more robust.
Refresh the export-free sdkman-init whenever the
original has changed.
2018-07-21 16:24:21 +02:00
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
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