diff --git a/.bashrc b/.bashrc index 3c16ea5..aa6c439 100644 --- a/.bashrc +++ b/.bashrc @@ -7,6 +7,9 @@ done HISTSIZE=10000 HISTFILESIZE=900000 +GPG_TTY=$(tty) +export GPG_TTY + case ${TERM} in xterm*|rxvt*|Eterm|aterm|kterm|gnome*|alacritty*|tmux-256color|linux) PS1='\[\033]2;\h:\W \u\007\]\h:\[\033[38;5;219m\]\W\[\033[00m\] \[\033[01;35m\]\u\[\033[00m\]\$ '