I set up an alias:
alias gpgagentexport="eval $(cat ~/.gpg-agent-info) ; export GPG_AGENT_INFO"
However when I source my
$(cat ...) is evaluated at that point. But I want to evaluate it when I run the alias
gpgagentexport (after the contents of
~/.gpg-agent-info has changed).
So is there some sort of escaping, quoting or syntax to achieve that?