From 71fcdcb32cb4b0740c4c12b706251799b54cfd5c Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 15 May 2016 15:21:14 +0800 Subject: Move GPG_TTY to shell configuration --- _profile | 10 ++-------- _zsh/90-exports.zsh | 5 ++++- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/_profile b/_profile index f512484..567ca8b 100644 --- a/_profile +++ b/_profile @@ -56,14 +56,8 @@ export LC_COLLATE="C" ### Input method: fcitx export XMODIFIERS="@im=fcitx" export INPUT_METHOD="fcitx" -#export GTK_IM_MODULE="fcitx" -#export GTK3_IM_MODULE="fcitx" -#export QT_IM_MODULE="fcitx" -#export QT4_IM_MODULE="fcitx" - - -### GPG -export GPG_TTY=$(tty) # See `gpg-agent(1)' +export GTK_IM_MODULE="fcitx" +export QT_IM_MODULE="fcitx" ### LS colors diff --git a/_zsh/90-exports.zsh b/_zsh/90-exports.zsh index 8dab42d..13080a3 100644 --- a/_zsh/90-exports.zsh +++ b/_zsh/90-exports.zsh @@ -9,6 +9,9 @@ export PAGER='less' export LESS='--ignore-case --raw-control-chars' # Setup terminal, and turn on colors -export TERM='xterm-256color' +#export TERM='xterm-256color' + +# GPG: see `gpg-agent(1)' +export GPG_TTY=$(tty) # vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: # -- cgit v1.2.2