# Use keychain if installed if [ -x /usr/bin/keychain ] then eval `keychain --confirm --clear --noask --timeout 15 --eval --systemd --stop others --quiet --inherit local-once --agents gpg,ssh` echo "zsh: Using keychain (15 min timeout, explicit confirmation)" fi