summaryrefslogtreecommitdiffhomepage
path: root/gui/tasks
diff options
context:
space:
mode:
authorClément Joly <oss@131719.xyz>2020-06-20 18:01:13 +0200
committerLinus Färnstrand <linus@mullvad.net>2020-06-26 11:28:33 +0200
commit2d4aea4e2180058ad4bf9fcd3103be2f0fc363ca (patch)
tree9ecda02e4e6ab40f3dccf219e6f0d830df0f0273 /gui/tasks
parenta54e05de9c40537dd2f8b67d8edd0baebc83df6b (diff)
downloadmullvadvpn-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 'gui/tasks')
-rw-r--r--gui/tasks/distribution.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/tasks/distribution.js b/gui/tasks/distribution.js
index c0fc5ecb09..a84102c6bf 100644
--- a/gui/tasks/distribution.js
+++ b/gui/tasks/distribution.js
@@ -131,6 +131,7 @@ const config = {
distAssets('shell-completions/mullvad.bash') +
'=/usr/share/bash-completion/completions/mullvad',
distAssets('shell-completions/_mullvad') + '=/usr/local/share/zsh/site-functions/_mullvad',
+ distAssets('shell-completions/mullvad.fish') + '=/usr/share/fish/vendor_completions.d',
],
afterInstall: distAssets('linux/after-install.sh'),
afterRemove: distAssets('linux/after-remove.sh'),
@@ -155,6 +156,7 @@ const config = {
distAssets('shell-completions/mullvad.bash') +
'=/usr/share/bash-completion/completions/mullvad',
distAssets('shell-completions/_mullvad') + '=/usr/share/zsh/site-functions/_mullvad',
+ distAssets('shell-completions/mullvad.fish') + '=/usr/share/fish/vendor_completions.d',
],
afterInstall: distAssets('linux/after-install.sh'),
afterRemove: distAssets('linux/after-remove.sh'),