dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

10-gpg.rc (330B)


      1 if(test -z $SSH_TTY && which gpgconf >/dev/null >[2=1]) {
      2 	if(test `{gpgconf --list-dirs agent-ssh-socket | wc -l} -eq 1) {
      3 		SSH_AGENT_PID=()
      4 		SSH_AUTH_SOCK=`{gpgconf --list-dirs agent-ssh-socket}
      5 	}
      6 }
      7 
      8 if(which gpg-connect-agent >/dev/null >[2=1]) {
      9 	GPG_TTY=`{tty}
     10 	gpg-connect-agent updatestartuptty /bye >/dev/null >[2=1]
     11 }