summary refs log tree commit diff stats
path: root/.zprofile
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-04-23 17:30:21 -0400
committerBen Morrison <ben@gbmor.dev>2020-04-25 00:40:42 -0400
commit578878f57bd1db44c6c5e22dbda0de486c389266 (patch)
treea1d4983cba4b2dab620022728b4f1103bd36a508 /.zprofile
parent2f367902807d982a396414bac3f24d640dc15847 (diff)
downloaddogfiles-578878f57bd1db44c6c5e22dbda0de486c389266.tar.gz
minor changes to launch of gpg-agent
Diffstat (limited to '.zprofile')
-rw-r--r--.zprofile13
1 files changed, 13 insertions, 0 deletions
diff --git a/.zprofile b/.zprofile
new file mode 100644
index 0000000..44983af
--- /dev/null
+++ b/.zprofile
@@ -0,0 +1,13 @@
+export LANG=en_US.UTF-8
+export LC_ALL=en_US.UTF-8
+export LANGUAGE=en_US.UTF-8
+
+# use gpg-agent for ssh
+export GPG_TTY=$(tty)
+export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
+#export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
+gpg-connect-agent updatestartuptty /bye > /dev/null
+#gpgconf --launch gpg-agent
+gpgconf --create-socketdir
+
+ulimit -n 8096