Adds support for SDKMAN! to fish
Find a file
Raphael Reitzig 0c15f199cd Migrate completion tests to Cucumber.
Also retire Fish 2.x + macOS test;
installation of custom brew didn't work out anymore.
2020-05-25 21:05:10 +02:00
.idea/runConfigurations Migrate completion tests to Cucumber. 2020-05-25 21:05:10 +02:00
completions Final macOS incompatibility fix. 2019-11-06 20:52:07 +01:00
conf.d Final macOS incompatibility fix. 2019-11-06 20:52:07 +01:00
functions Offer to install SDKMAN! if not already installed. 2019-11-05 04:24:36 +01:00
test Migrate completion tests to Cucumber. 2020-05-25 21:05:10 +02:00
.editorconfig Final macOS incompatibility fix. 2019-11-06 20:52:07 +01:00
.gitignore Verify (re-)initialization of SDKMAN env vars works. 2019-07-30 22:19:32 +02:00
.travis.yml Migrate completion tests to Cucumber. 2020-05-25 21:05:10 +02:00
LICENSE Initial commit 2018-07-11 02:37:43 +02:00
README.md Migrate completion tests to Cucumber. 2020-05-25 21:05:10 +02:00

SDKMAN! for fish

Build Status

Makes command sdk from SDKMAN! usable from fish, including auto-completion. Also adds binaries from installed SDKs to the PATH.

Version 1.4.0 tested with

  • fish 2.7.1 and 3.0.2, and
  • SDKMAN! 5.7.4, on
  • Ubuntu 18.04 LTS and macOS 10.13

Install

With fisher (install separately):

fisher add reitzig/sdkman-for-fish

Note:

  • Only compatible with fisher v3 upwards; v2 is no longer supported.
  • You have to install SDKMAN! separately.

Usage

It's all in the background; you should be able to run sdk and binaries installed with sdk as you would expect.

Contribute

When you make changes, please run the tests at least on one platform before creating a pull request.

As the tests may mess up your own setup -- you have been warned! -- the recommended way is to run the tests in a Docker container:

docker build -t sdkman-for-fish-tests -f test/Dockerfile .
docker run --rm sdkman-for-fish-tests

A run configuration for Jetbrains IDEs is included.

Acknowledgements