aboutsummaryrefslogtreecommitdiff
path: root/Shell
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2022-01-12 05:40:14 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2022-01-12 05:40:14 +0000
commit05b8480c5f1d5844a4f4f9b7e2a1ca092aa6db06 (patch)
tree6bb86cae9af242b64bb68a59245e34516dbe6f18 /Shell
parent248a3145c472258acb8d9a7d3496a9a12346d86b (diff)
downloaddotfiles-05b8480c5f1d5844a4f4f9b7e2a1ca092aa6db06.tar.gz
dotfiles-05b8480c5f1d5844a4f4f9b7e2a1ca092aa6db06.tar.bz2
dotfiles-05b8480c5f1d5844a4f4f9b7e2a1ca092aa6db06.zip
(Shell)+ssh_agent integration
Use the same socket file for any zsh shell I create (default shell for user and hence from tty) so ssh-agent works consistently.
Diffstat (limited to 'Shell')
-rw-r--r--Shell/.zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Shell/.zshrc b/Shell/.zshrc
index 6a62c2c..66a33f2 100644
--- a/Shell/.zshrc
+++ b/Shell/.zshrc
@@ -1,6 +1,7 @@
# zshrc -*- mode: sh; lexical-binding: t; -*-
export DOTNET_ROOT=~/.local/src/dotnet
+export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
## Variables
TERM=xterm-256color
## Aliases