diff --git a/README.md b/README.md index 7e86f7e..2705ad9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/shellrcsnippets/gpg-agent-for-ssh b/shellrcsnippets/gpg-agent-for-ssh new file mode 100644 index 0000000..c2961a4 --- /dev/null +++ b/shellrcsnippets/gpg-agent-for-ssh @@ -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