8c30205b02
Shell completion scripts can be generated for `bash`, `elvish`, `fish`, `powershell`, and `zsh` with the `completions` subcommand: $ imdl completions --shell zsh > imdl.zsh The same scripts are available in the `completions` directory. Please refer to your shell's documentation for more information on how to install and use completion scripts. type: added
9 lines
152 B
Bash
Executable File
9 lines
152 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euxo pipefail
|
|
|
|
for script in completions/*; do
|
|
shell=${script##*.}
|
|
cargo run -- completions --shell $shell > $script
|
|
done
|