aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-04-12 17:51:10 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-04-12 17:51:10 +0200
commit61f465a0283920fca432068d5cfca3a8332941f1 (patch)
tree7bc79d14e6ea95d9bf56749a39995972d616faa7 /zsh
parenta4018c15103b1ca1cbbc7a47762c1558c430432e (diff)
downloaddotfiles-61f465a0283920fca432068d5cfca3a8332941f1.tar.xz
zsh: keyring no longer puts random stuff in socket path
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 64364da..f6b8c2c 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -118,7 +118,7 @@ sprfile() {
curl -F "sprunge=<$1" http://sprunge.us
}
-GPG_AGENT_INFO=$(ss -xl | grep -o '/run/user/1000/keyring-.*/gpg')
+GPG_AGENT_INFO=$(ss -xl | grep -o '/run/user/1000/keyring/gpg')
[ -z "$GPG_AGENT_INFO" ] || export GPG_AGENT_INFO=$GPG_AGENT_INFO:0:1
-SSH_AUTH_SOCK=$(ss -xl | grep -o '/run/user/1000/keyring-.*/ssh')
+SSH_AUTH_SOCK=$(ss -xl | grep -o '/run/user/1000/keyring/ssh')
[ -z "$SSH_AUTH_SOCK" ] || export SSH_AUTH_SOCK