#!/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