Browse Source

set $GPG_TTY

Fabian Peter Hammerle 5 năm trước cách đây
mục cha
commit
57d20a33af
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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