dotfiles/.install-bw.sh
punkfairie fcfff9cee8
Update .install-bw.sh
Update .config/packages/archgirlie
Update .ssh/id_ed25519.pub
Update .ssh/id_ed25519
2024-09-28 09:57:28 -07:00

21 lines
351 B
Bash
Executable file

#!/usr/bin/env sh
type bw >/dev/null 2>&1 && exit
case "$(uname -s)" in
Darwin)
brew install bitwarden-cli
;;
Linux)
if command -v yay 2>&1; then
yay -S bitwarden-cli
elif command -v pacman 2>&1; then
pacman -S bitwarden-cli
elif command -v npm 2>&1; then
npm install -g @bitwarden/cli
else
echo "unsupported OS"
exit 1
fi
;;
esac