exporting some gpg agent variables and initializing rbenv if found
This commit is contained in:
parent
14c4e3b7ff
commit
0f50be3a6d
1 changed files with 11 additions and 0 deletions
11
.zshrc
11
.zshrc
|
@ -38,6 +38,17 @@ if [ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.
|
|||
source "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
fi
|
||||
|
||||
# GPG Agent
|
||||
if [ -f "${HOME}/.gpg-agent-info" ]; then
|
||||
. "${HOME}/.gpg-agent-info"
|
||||
export GPG_AGENT_INFO
|
||||
export SSH_AUTH_SOCK
|
||||
fi
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
# rbenv
|
||||
hash rbenv 2>/dev/null && eval "$(rbenv init -)"
|
||||
|
||||
# Aliases
|
||||
if [ "$(uname -s | tr '[:upper:]' '[:lower:]')" = 'linux' ]; then
|
||||
alias ls='ls --color=auto'
|
||||
|
|
Loading…
Reference in a new issue