dotfiles/source/50_keychain.sh

8 lines
158 B
Bash

#!/usr/bin/env bash
if [[ -n "$PS1" ]]; then
if command -v keychain &> /dev/null; then
eval "$(keychain --eval --agents ssh id_rsa id_ed25519)"
fi
fi