瀏覽代碼

set $GPG_TTY

Fabian Peter Hammerle 5 年之前
父節點
當前提交
57d20a33af
共有 1 個文件被更改,包括 3 次插入0 次删除
  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