commit bbdec15ba03ae59e2c5a876dd0f7009e1c2b8fd0
parent e153097b7c794b3308806ddf891b6b687868ab39
Author: Chris Bracken <chris@bracken.jp>
Date: Sun, 14 Jul 2019 14:50:51 +0900
Simplify setting setting GPG_TTY
Since we're doing this in .zshrc, we know we can use `export FOO=bar`
syntax.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.zshrc b/.zshrc
@@ -7,8 +7,7 @@ export GOMA_DIR="$HOME/src/goma"
export GEM_HOME="$HOME/.gem"
# Set tty used for GPG pinentry.
-GPG_TTY="$(tty)"
-export GPG_TTY
+export GPG_TTY="$(tty)"
# P4 config.
export P4CONFIG=.p4config