mirror of
https://github.com/fiatjaf/nak.git
synced 2026-10-05 15:18:23 +00:00
shell completion installation instructions on readme.
This commit is contained in:
@@ -12,7 +12,7 @@ curl -sSL https://raw.githubusercontent.com/fiatjaf/nak/master/install.sh | sh
|
|||||||
- install with `go install`;
|
- install with `go install`;
|
||||||
- or run with docker using `docker build -t nak . && docker run nak event`.
|
- or run with docker using `docker build -t nak . && docker run nak event`.
|
||||||
- or install with `brew install nak` if you use **macOS Homebrew**.
|
- or install with `brew install nak` if you use **macOS Homebrew**.
|
||||||
- or install with `paru -S nak-bin` or `yay -S nak-bin` if you are on **Arch Linux**.
|
- or install with `yay -S nak-bin` if you are on **Arch Linux**.
|
||||||
- or install with `nix-env --install nak` if you use **Nix**.
|
- or install with `nix-env --install nak` if you use **Nix**.
|
||||||
|
|
||||||
## what can you do with it?
|
## what can you do with it?
|
||||||
@@ -558,3 +558,19 @@ gitnostr.com... ok.
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## shell completions
|
||||||
|
|
||||||
|
If you installed using a method that doesn't do this automatically, install shell completions with one of these:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# bash
|
||||||
|
mkdir -p ~/.local/share/bash-completion/completions && nak completion bash > ~/.local/share/bash-completion/completions/nak
|
||||||
|
|
||||||
|
# zsh
|
||||||
|
mkdir -p ~/.zsh/completions && nak completion zsh > ~/.zsh/completions/_nak
|
||||||
|
|
||||||
|
# fish
|
||||||
|
mkdir -p ~/.config/fish/completions && nak completion fish > ~/.config/fish/completions/nak.fish
|
||||||
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user