mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-25 05:17:11 -07:00
Merge branch 'master' into dev
This commit is contained in:
commit
083d2d3d9b
2 changed files with 8 additions and 6 deletions
10
README.md
10
README.md
|
@ -5,16 +5,18 @@
|
|||
Makes command `sdk` from [SDKMAN!] available in fish.
|
||||
Also provides auto-completion and adds binaries from installed SDKs to the PATH.
|
||||
|
||||
Tested with fish 2.7.1 and SDKMAN! 5.7.1.
|
||||
Tested with fish 2.7.1 and SDKMAN! 5.7.3.
|
||||
|
||||
## Install
|
||||
|
||||
With [fisherman] (install separately):
|
||||
With [fisher] (install separately):
|
||||
|
||||
```
|
||||
fisher reitzig/sdkman-for-fish
|
||||
fisher add reitzig/sdkman-for-fish
|
||||
```
|
||||
|
||||
_Note:_ Only compatible with fisher v3 upwards; v2 is no longer supported.
|
||||
|
||||
## Usage
|
||||
|
||||
It's all in the background; you should be able to run `sdk` and binaries installed
|
||||
|
@ -28,6 +30,6 @@ with `sdk` as you would expect.
|
|||
see [his comment on sdkman/sdkman-cli#294](https://github.com/sdkman/sdkman-cli/issues/294#issuecomment-318252058).
|
||||
|
||||
[SDKMAN!]: https://github.com/sdkman/sdkman-cli
|
||||
[fisherman]: https://github.com/fisherman/fisherman
|
||||
[fisher]: https://github.com/jorgebucaran/fisher
|
||||
[travis-link]: https://travis-ci.org/reitzig/sdkman-for-fish
|
||||
[travis-badge]: https://travis-ci.org/reitzig/sdkman-for-fish.svg?branch=master
|
|
@ -8,7 +8,7 @@
|
|||
# https://github.com/reitzig/sdkman-for-fish
|
||||
|
||||
set __fish_sdkman_init "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||
set __fish_sdkman_noexport_init "$HOME/.config/fisherman/sdkman-for-fish/sdkman-noexport-init.sh"
|
||||
set __fish_sdkman_noexport_init "$HOME/.config/fisher/github.com/reitzig/sdkman-for-fish/sdkman-noexport-init.sh"
|
||||
|
||||
# Guard: SDKMAN! needs to be installed
|
||||
if not test -f "$__fish_sdkman_init"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue