Skip to content

Instantly share code, notes, and snippets.

@gadiener
Created November 23, 2016 09:05
Show Gist options
  • Save gadiener/5d82ef202be295ace487cd198b2bdcba to your computer and use it in GitHub Desktop.
Save gadiener/5d82ef202be295ace487cd198b2bdcba to your computer and use it in GitHub Desktop.
Fix error: gpg-agent[30745]: command get_passphrase failed: Inappropriate ioctl for device
# With oh-my-zsh
echo 'export GPG_TTY=$(tty)' >> .my_zshrc
# With bash
echo 'export GPG_TTY=$(tty)' >> .bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment