diff --git a/zsh/.zshrc b/zsh/.zshrc index f14afdb..eb6ad59 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -21,9 +21,6 @@ source ~/.zsh/themes/powerlevel10k/powerlevel10k.zsh-theme # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh -GPG_TTY=$(tty) -export GPG_TTY - # Aliases alias gib='git branch' alias gis='git status' @@ -39,3 +36,13 @@ bindkey '^[[1;5C' forward-word # Ctrl + right arrow -> Move f # Color different file types export LS_COLORS='di=94:ln=36:so=35:pi=33:ex=32:bd=46;34:cd=46;34' alias ls='ls --color=auto' + +export GPG_TTY=$(tty) + +# SPLIT SSH CONFIGURATION >>> +SSH_VAULT_VM="vault" + +if [ "$SSH_VAULT_VM" != "" ]; then + export SSH_AUTH_SOCK="/home/user/.SSH_AGENT_$SSH_VAULT_VM" +fi +# <<< SPLIT SSH CONFIGURATION