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 /dist-assets/pkg-scripts | |
| 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 'dist-assets/pkg-scripts')
| -rwxr-xr-x | dist-assets/pkg-scripts/postinstall | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dist-assets/pkg-scripts/postinstall b/dist-assets/pkg-scripts/postinstall index 803e9cf276..9e6db15a6f 100755 --- a/dist-assets/pkg-scripts/postinstall +++ b/dist-assets/pkg-scripts/postinstall @@ -63,5 +63,7 @@ mkdir -p /usr/local/bin ln -sf "$INSTALL_DIR/Mullvad VPN.app/Contents/Resources/mullvad" /usr/local/bin/mullvad ln -sf "$INSTALL_DIR/Mullvad VPN.app/Contents/Resources/mullvad-problem-report" /usr/local/bin/mullvad-problem-report +ln -sf "$INSTALL_DIR/Mullvad VPN.app/Contents/Resources/mullvad.fish" /usr/share/fish/vendor_completions.d + mkdir -p "$ZSH_COMPLETIONS_DIR" ln -sf "$INSTALL_DIR/Mullvad VPN.app/Contents/Resources/_mullvad" "$ZSH_COMPLETIONS_DIR/_mullvad" |
