commit adfa83092f6fe7ba5d9197469c079020e02fdfe7
parent b1303238118b0075bb0a101a554b940706a82e2a
Author: Chris Bracken <chris@bracken.jp>
Date: Sun, 30 Jun 2019 23:45:20 +0900
Move ssh-agent startup to .zprofile
This avoids starting it with every new terminal window. This is probably
still less than ideal, but works for now.
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.zprofile b/.zprofile
@@ -1 +1,4 @@
# .zprofile
+
+# Start ssh-agent.
+eval $(ssh-agent -s) > /dev/null
diff --git a/.zshrc b/.zshrc
@@ -6,9 +6,6 @@ export GNUPGHOME="$HOME/.gnupg"
export GOMA_DIR="$HOME/src/goma"
export GEM_HOME="$HOME/.gem"
-# Start ssh-agent.
-eval $(ssh-agent -s) > /dev/null
-
# Set tty used for GPG pinentry.
GPG_TTY="$(tty)"
export GPG_TTY