suppress command -v
output
This commit is contained in:
parent
4be3b48cd9
commit
9d48e747ad
@ -50,11 +50,11 @@ alias lss='exa -a'
|
|||||||
alias xrm='sudo xbps-remove'
|
alias xrm='sudo xbps-remove'
|
||||||
|
|
||||||
# GPG setup (and SSH)
|
# GPG setup (and SSH)
|
||||||
if command -v keychain; then
|
if command -v keychain >/dev/null; then
|
||||||
alias keychain='keychain --dir "$XDG_RUNTIME_DIR" --absolute'
|
alias keychain='keychain --dir "$XDG_RUNTIME_DIR" --absolute'
|
||||||
eval `keychain --quiet --eval --agents gpg D7F966B85D985743C76A17AC5A9572AE7B2E7E1C`
|
eval `keychain --quiet --eval --agents gpg D7F966B85D985743C76A17AC5A9572AE7B2E7E1C`
|
||||||
fi
|
fi
|
||||||
if command -v gpgconf; then
|
if command -v gpgconf >/dev/null; then
|
||||||
SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
export SSH_AUTH_SOCK
|
export SSH_AUTH_SOCK
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user