diff options
| author | Clément Joly <oss@131719.xyz> | 2020-06-20 18:01:13 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2020-06-26 11:28:33 +0200 |
| commit | 2d4aea4e2180058ad4bf9fcd3103be2f0fc363ca (patch) | |
| tree | 9ecda02e4e6ab40f3dccf219e6f0d830df0f0273 /build.sh | |
| parent | a54e05de9c40537dd2f8b67d8edd0baebc83df6b (diff) | |
| download | mullvadvpn-2d4aea4e2180058ad4bf9fcd3103be2f0fc363ca.tar.xz mullvadvpn-2d4aea4e2180058ad4bf9fcd3103be2f0fc363ca.zip | |
Add fish shell completions
Generate fish shell completions at build time. Empower fish users with
completions.
Completions are copied in the [recommended directory](https://fishshell.com/docs/current/#where-to-put-completions)
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -138,7 +138,7 @@ echo "Building Rust code in release mode using $RUSTC_VERSION..." if [[ ("$(uname -s)" == "Darwin") || ("$(uname -s)" == "Linux") ]]; then pushd mullvad-cli mkdir -p "$SCRIPT_DIR/dist-assets/shell-completions" - for sh in bash zsh; do + for sh in bash zsh fish; do echo "Generating shell completion script for $sh..." cargo +stable run $CARGO_ARGS --release --features shell-completions -- \ shell-completions "$sh" "$SCRIPT_DIR/dist-assets/shell-completions/" |
