Photos
Blog
Projects
vanrenterghem.biz
projects
/
Dotty.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c556226
)
Support GPG in KDE better.
author
Frederik Vanrenterghem
<frederik@vanrenterghem.biz>
Sun, 11 Jun 2023 06:29:13 +0000
(14:29 +0800)
committer
Frederik Vanrenterghem
<frederik@vanrenterghem.biz>
Sun, 11 Jun 2023 06:29:13 +0000
(14:29 +0800)
bash/.bashrc
patch
|
blob
|
history
diff --git
a/bash/.bashrc
b/bash/.bashrc
index 0aa32287d5f918baf8fd8398274052befbb8b6d9..84ee2e478907d829fe2d82f340971c5c64008a3c 100644
(file)
--- a/
bash/.bashrc
+++ b/
bash/.bashrc
@@
-8,5
+8,11
@@
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
+unset SSH_AGENT_PID
+if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
+ export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
+fi
+
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
+