1
0
Fork 0

add split ssh config

This commit is contained in:
Anton Livaja 2025-03-02 17:58:05 -08:00
parent 6c06aff4de
commit 6e9e23a8e6
Signed by: anton
GPG Key ID: 44A86CFF1FDF0E85
1 changed files with 10 additions and 3 deletions

View File

@ -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