e7c58ef45d04ec24a03f16edf067aa57caaf54bd
commit e7c58ef45d04ec24a03f16edf067aa57caaf54bd
Author: Simon Watson <simon.watson@ipc.com>
Date: Mon Jul 19 10:06:11 2021 -0400

Little interactive script to update Bitwarden appimage link

diff --git a/link_bitwarden_app_image.sh b/link_bitwarden_app_image.sh
new file mode 100755
index 0000000..df0a50d
--- /dev/null
+++ b/link_bitwarden_app_image.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+BITWARDEN_PATH=$(find ~/Downloads | grep 'Bitwarden.*.AppImage')
+
+echo -n "Link $BITWARDEN_PATH to /usr/bin/ [y/n]: "
+read resp
+
+if [ "$resp" == "y" ]; then
+ echo "Linking $BITWARDEN_PATH to /usr/bin/Bitwarden"
+ sudo ln -f -s $BITWARDEN_PATH /usr/bin/Bitwarden
+ exa -lah /usr/bin/Bitwarden
+else
+ echo "Not linking"
+fi