summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xdist-assets/uninstall_macos.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/dist-assets/uninstall_macos.sh b/dist-assets/uninstall_macos.sh
index 9cf33ec5de..3fbae00d2a 100755
--- a/dist-assets/uninstall_macos.sh
+++ b/dist-assets/uninstall_macos.sh
@@ -18,9 +18,15 @@ DAEMON_PLIST_PATH="/Library/LaunchDaemons/net.mullvad.daemon.plist"
sudo launchctl unload -w "$DAEMON_PLIST_PATH"
sudo rm -f "$DAEMON_PLIST_PATH"
-echo "Removing shell completion symlink ..."
+echo "Removing zsh shell completion symlink ..."
sudo rm -f /usr/local/share/zsh/site-functions/_mullvad
+FISH_COMPLETIONS_PATH="/usr/local/share/fish/vendor_completions.d/mullvad.fish"
+if [ -h "$FISH_COMPLETIONS_PATH" ]; then
+ echo "Removing fish shell completion symlink ..."
+ sudo rm -f "$FISH_COMPLETIONS_PATH"
+fi
+
echo "Removing CLI symlinks from /usr/local/bin/ ..."
sudo rm -f /usr/local/bin/mullvad /usr/local/bin/mullvad-problem-report