mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-16 22:31:03 +02:00
feat: add shell completions
Auto-generated with clap.
This commit is contained in:
parent
df55cdfa9f
commit
4381fd505d
6 changed files with 100 additions and 3 deletions
|
@ -117,6 +117,26 @@ cargo build --release --no-default-features \
|
|||
| **Other** | |
|
||||
| schema | Enables JSON schema support and the CLI `--print-schema` flag. |
|
||||
|
||||
## Shell completions
|
||||
|
||||
Compiling Ironbar will produce shell completions for bash, zsh and fish; these can be found in `target/completions`.
|
||||
|
||||
You can install these as follows:
|
||||
|
||||
Bash:
|
||||
```shell
|
||||
install -Dm644 completions/ironbar.bash /usr/share/bash-completion/completions/ironbar
|
||||
```
|
||||
|
||||
Zsh:
|
||||
```shell
|
||||
install -Dm644 completions/_ironbar /usr/share/zsh/site-functions/_ironbar
|
||||
```
|
||||
|
||||
Fish:
|
||||
```shell
|
||||
install -Dm644 completions/ironbar.fish /usr/share/fish/vendor_completions.d/ironbar.fish
|
||||
```
|
||||
|
||||
## Speeding up compiling
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue