Skip to content

Commit 9b01548

Browse files
aserralleriosmarc0der
authored andcommitted
Make zsh plugin usable straight from the repo
1 parent 8391f6e commit 9b01548

File tree

3 files changed

+28
-23
lines changed

3 files changed

+28
-23
lines changed

etc/README.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

zsh/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Installation instructions
2+
3+
## zsh
4+
5+
Create a new folder for completions:
6+
7+
```sh
8+
mkdir -p ~/.zsh/completions
9+
```
10+
11+
Copy the file `/etc/_sdk` from the location where `sdk` is installed to the folder `~/.zsh/completions/`:
12+
13+
```sh
14+
cp /path/to/etc/sdk.zsh_completion ~/.zsh/completions/
15+
```
16+
17+
Then add the following lines to your `.zshrc` file:
18+
19+
```sh
20+
fpath=(~/.zsh/completions $fpath)
21+
autoload -U compinit && compinit
22+
```
23+
24+
### Using antigen
25+
26+
```sh
27+
antigen bundle sdkman/sdkman-cli zsh
28+
```
File renamed without changes.

0 commit comments

Comments
 (0)