summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2020-04-17 10:57:22 +0200
committerDavid Lönnhager <david.l@mullvad.net>2020-04-17 10:57:22 +0200
commitd718db4b02b7a605e1d344eb718b8f9f28078aac (patch)
tree0e9eb7c90d8a63993b4e09df2c5968afe7db505e /gui
parent0e23841e5ca9148ef6a52ef2b8d00fccc8b783f3 (diff)
parent3d6eef646d35c1fe78fbeb10d6871ab948dae5a4 (diff)
downloadmullvadvpn-d718db4b02b7a605e1d344eb718b8f9f28078aac.tar.xz
mullvadvpn-d718db4b02b7a605e1d344eb718b8f9f28078aac.zip
Merge branch 'add-shell-completion'
Diffstat (limited to 'gui')
-rw-r--r--gui/tasks/distribution.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/tasks/distribution.js b/gui/tasks/distribution.js
index 85069037a6..0a9a6ad465 100644
--- a/gui/tasks/distribution.js
+++ b/gui/tasks/distribution.js
@@ -53,6 +53,7 @@ const config = {
{ from: distAssets('binaries/x86_64-apple-darwin/openvpn'), to: '.' },
{ from: distAssets('binaries/x86_64-apple-darwin/sslocal'), to: '.' },
{ from: distAssets('uninstall_macos.sh'), to: './uninstall.sh' },
+ { from: distAssets('shell-completions/_mullvad'), to: '.' },
],
},
@@ -127,6 +128,8 @@ const config = {
'/opt/Mullvad VPN/resources/mullvad-daemon.conf',
distAssets('mullvad') + '=/usr/bin/',
distAssets('linux/problem-report-link') + '=/usr/bin/mullvad-problem-report',
+ distAssets('shell-completions/mullvad.bash') + '=/usr/share/bash-completion/completions/mullvad',
+ distAssets('shell-completions/_mullvad') + '=/usr/local/share/zsh/site-functions/_mullvad',
],
afterInstall: distAssets('linux/after-install.sh'),
afterRemove: distAssets('linux/after-remove.sh'),
@@ -147,6 +150,8 @@ const config = {
'/opt/Mullvad VPN/resources/mullvad-daemon.conf',
distAssets('mullvad') + '=/usr/bin/',
distAssets('linux/problem-report-link') + '=/usr/bin/mullvad-problem-report',
+ distAssets('shell-completions/mullvad.bash') + '=/usr/share/bash-completion/completions/mullvad',
+ distAssets('shell-completions/_mullvad') + '=/usr/local/share/zsh/site-functions/_mullvad',
],
afterInstall: distAssets('linux/after-install.sh'),
afterRemove: distAssets('linux/after-remove.sh'),