forked from lrvick/dotfiles
add split ssh config
This commit is contained in:
parent
6c06aff4de
commit
6e9e23a8e6
13
zsh/.zshrc
13
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
|
||||
|
|
Loading…
Reference in New Issue