aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-05-15 15:21:14 +0800
committerAaron LI <aaronly.me@gmail.com>2016-05-15 15:21:14 +0800
commit71fcdcb32cb4b0740c4c12b706251799b54cfd5c (patch)
treed9f2cf193c8fe20417b724fdef3b7f7b336ea69c
parentbe435eda10abaf123d8e32cfff7d8f9f76831b27 (diff)
downloaddotfiles-71fcdcb32cb4b0740c4c12b706251799b54cfd5c.tar.bz2
Move GPG_TTY to shell configuration
-rw-r--r--_profile10
-rw-r--r--_zsh/90-exports.zsh5
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: #