diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-05-15 15:21:14 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-05-15 15:21:14 +0800 |
commit | 71fcdcb32cb4b0740c4c12b706251799b54cfd5c (patch) | |
tree | d9f2cf193c8fe20417b724fdef3b7f7b336ea69c | |
parent | be435eda10abaf123d8e32cfff7d8f9f76831b27 (diff) | |
download | dotfiles-71fcdcb32cb4b0740c4c12b706251799b54cfd5c.tar.bz2 |
Move GPG_TTY to shell configuration
-rw-r--r-- | _profile | 10 | ||||
-rw-r--r-- | _zsh/90-exports.zsh | 5 |
2 files changed, 6 insertions, 9 deletions
@@ -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: # |