# # ~/.bashrc # GPG_TTY=$(tty) export GPG_TTY # If not running interactively, don't do anything [[ $- != *i* ]] && return