9
9
Makes command ` sdk ` from [ SDKMAN!] usable from [ fish] , including auto-completion.
10
10
Also adds binaries from installed SDKs to the PATH.
11
11
12
- Version 2.0 .0 has been tested with
12
+ Version 2.1 .0 has been tested with
13
13
14
- - fish 3.6.1, and
15
- - SDKMAN! 5.18.2, on
16
- - Ubuntu 22.04 LTS and macOS 12.6
14
+ - fish 3.7 and
15
+ - SDKMAN! 5.18.2 on
16
+ - Ubuntu 22.04 LTS and macOS 14.4
17
17
18
18
## Install
19
19
20
20
With [ fisher] (install separately):
21
21
22
22
```
23
- fisher install reitzig/sdkman-for-fish@v2.0 .0
23
+ fisher install reitzig/sdkman-for-fish@v2.1 .0
24
24
```
25
25
26
26
_ Note:_
@@ -39,27 +39,25 @@ _Note:_
39
39
for example, you can use `.config/fish/conf.d/config_sdk.fish`.
40
40
- If _both_ are set, `__sdkman_custom_dir` is used.
41
41
42
-
43
42
## Usage
44
43
45
- It's all in the background; you should be able to run `sdk` and binaries installed
46
- with `sdk` as you would expect.
47
-
44
+ It's all in the background; you should be able to run `sdk` and
45
+ binaries installed with `sdk` as you would expect.
48
46
49
47
## Contribute
50
48
51
- When you make changes,
49
+ When you propose changes,
52
50
please run the tests at least on one platform before creating a pull request.
53
51
54
- As the tests may mess up your own setup
52
+ As the tests may mess up your machine
55
53
-- you have been warned! --
56
- the recommended way is to run the tests in a Docker container:
57
-
54
+ the recommended way is to run them in a Docker container:
55
+
58
56
```fish
59
57
docker build -t sdkman-for-fish-tests -f test/Dockerfile .
60
58
docker run --rm -it sdkman-for-fish-tests
61
59
```
62
-
60
+
63
61
A run configuration for Jetbrains IDEs is included.
64
62
65
63
It is a also possible to run individual features, for instance:
@@ -68,17 +66,6 @@ It is a also possible to run individual features, for instance:
68
66
docker run --rm sdkman-for-fish-tests features/completions.feature
69
67
```
70
68
71
- As a corollary, this is the fastest way to run all tests
72
- (if you do not care about the report):
73
-
74
- ``` fish
75
- for f in features/*.feature
76
- docker run --rm sdkman-for-fish-tests "$f" &
77
- done
78
- wait
79
- ```
80
-
81
-
82
69
## Acknowledgements
83
70
84
71
* Completion originally by [ Ted Wise] ( https://github.com/ctwise ) ; see his
0 commit comments