#!/usr/bin/env bash # git's gpg.ssh.program: 1Password ships op-ssh-sign at a different path per OS. set -euo pipefail for bin in \ /Applications/1Password.app/Contents/MacOS/op-ssh-sign \ "$HOME/Applications/1Password.app/Contents/MacOS/op-ssh-sign" \ /opt/1Password/op-ssh-sign; do [[ -x "$bin" ]] && exec "$bin" "$@" done echo "op-ssh-sign not found; is the 1Password desktop app installed?" >&2 exit 1