mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Add function to re-source the gnupg environment.
This commit is contained in:
6
dotfiles/zshrc.d/source_gnupg.zsh
Normal file
6
dotfiles/zshrc.d/source_gnupg.zsh
Normal file
@@ -0,0 +1,6 @@
|
||||
function source_gnupg {
|
||||
GPG_ENV=${HOME}/.gnupg/gpg-agent.env
|
||||
if test -f ${GPG_ENV} ; then
|
||||
eval $(sed 's/^/export /' ${GPG_ENV})
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user