add shellrcsnippets/gpg-agent-for-ssh & mention Termux in README

This commit is contained in:
Aminda Suomalainen ⚧ 2020-03-09 13:35:38 +02:00
parent 0de553baf1
commit 92aeee2c88
GPG Key ID: 99392F62BAE30723
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
# minidotfiles
Dotfiles for user accounts that are not mine, such as single purpouse ones in remote systems.
Dotfiles for user accounts that are not mine, such as single purpouse ones
in remote systems or lite versions for cases like Termux.
shellrcsnippets - append to shellrc as needed, the files shouldn't change
much

View File

@ -0,0 +1,3 @@
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1