mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-25 05:17:11 -07:00
1.3 KiB
1.3 KiB
SDKMAN! for fish
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.
Acknowledgements
- Completion originally by Ted Wise; see his blog post from 2016.
- Binary loading originally by Koala Yeung; see his comment on sdkman/sdkman-cli#294.