Ver código fonte

set $GPG_TTY

Fabian Peter Hammerle 5 anos atrás
pai
commit
57d20a33af
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      rc.xsh

+ 3 - 0
rc.xsh

@@ -26,4 +26,7 @@ $RIGHT_PROMPT = '{gitstatus}{env_name: {}}'
 
 import re as re
 
+# required by pinentry-tty when using gpg command:
+$GPG_TTY=$(tty)
+
 # vim: filetype=python