diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-02-18 16:56:41 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-02-18 16:56:41 +0100 |
commit | 9c9e27b7bfc9c00acc02b91fdb8cb29c60fe546e (patch) | |
tree | 6e0486088938bbb8a88efe5c2639b807b0ddd23a /zsh/.zshrc | |
parent | 7e7aa928072775240ff70ca61f2dd0e8a09242d8 (diff) | |
download | dotfiles-9c9e27b7bfc9c00acc02b91fdb8cb29c60fe546e.tar.xz |
…
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r-- | zsh/.zshrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |