added gpg auth sock

This commit is contained in:
Bryan Ramos 2026-03-10 13:43:28 -04:00
parent 79eb823bbb
commit f6700648a3
2 changed files with 6 additions and 0 deletions

View file

@ -13,3 +13,6 @@ fi
if [ -n "$DISPLAY" ] || [ -n "$WAYLAND_DISPLAY" ]; then if [ -n "$DISPLAY" ] || [ -n "$WAYLAND_DISPLAY" ]; then
alias open='xdg-open' alias open='xdg-open'
fi fi
alias vi='/usr/bin/vim'
alias vim='/usr/bin/nvim'

3
bashrc
View file

@ -1,3 +1,6 @@
# Use gpg-agent for SSH (YubiKey support)
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
# Source prompt and aliases # Source prompt and aliases
BASH_CONFIG_DIR="${BASH_SOURCE%/*}" BASH_CONFIG_DIR="${BASH_SOURCE%/*}"
source "$BASH_CONFIG_DIR/prompt" source "$BASH_CONFIG_DIR/prompt"