From 9c9e27b7bfc9c00acc02b91fdb8cb29c60fe546e Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 18 Feb 2014 16:56:41 +0100 Subject: … MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/.zshrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'zsh/.zshrc') diff --git a/zsh/.zshrc b/zsh/.zshrc index 01d6100..ad5c01a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -116,3 +116,9 @@ alias sprin='curl -F "sprunge=<-" http://sprunge.us' sprfile() { curl -F "sprunge=<$1" http://sprunge.us } + +PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting +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') +[ -z "$SSH_AUTH_SOCK" ] || export SSH_AUTH_SOCK -- cgit v1.2.3-54-g00ecf