mirror of
https://github.com/tylernguyen/dotfiles.git
synced 2025-02-05 01:03:15 -06:00
18 lines
387 B
Bash
18 lines
387 B
Bash
#!/bin/sh
|
|
|
|
# exit immediately if password-manager-binary is already in $PATH
|
|
type password-manager-binary >/dev/null 2>&1 && exit
|
|
|
|
case "$(uname -s)" in
|
|
Darwin)
|
|
# commands to install password-manager-binary on Darwin
|
|
brew install --cask 1password
|
|
;;
|
|
Linux)
|
|
# commands to install password-manager-binary on Linux
|
|
;;
|
|
*)
|
|
echo "unsupported OS"
|
|
exit 1
|
|
;;
|
|
esac
|