mirror of
https://github.com/itme-brain/bash.git
synced 2026-03-23 09:49:43 -04:00
added gpg auth sock
This commit is contained in:
parent
79eb823bbb
commit
f6700648a3
2 changed files with 6 additions and 0 deletions
3
aliases
3
aliases
|
|
@ -13,3 +13,6 @@ fi
|
|||
if [ -n "$DISPLAY" ] || [ -n "$WAYLAND_DISPLAY" ]; then
|
||||
alias open='xdg-open'
|
||||
fi
|
||||
|
||||
alias vi='/usr/bin/vim'
|
||||
alias vim='/usr/bin/nvim'
|
||||
|
|
|
|||
3
bashrc
3
bashrc
|
|
@ -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
|
||||
BASH_CONFIG_DIR="${BASH_SOURCE%/*}"
|
||||
source "$BASH_CONFIG_DIR/prompt"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue