diff options
author | Tristan Williams <tgwil@tgwil.net> | 2024-10-12 15:14:19 -0400 |
---|---|---|
committer | Tristan Williams <tgwil@tgwil.net> | 2024-10-12 15:14:19 -0400 |
commit | 256a2c7bc2bc92df4570aa4746f13acb7580b9bf (patch) | |
tree | 6273ae0b655d25acf79921298e77ae248778e76e | |
parent | .bashrc: Add $HOME/bin to PATH (diff) | |
download | dotfiles.core-256a2c7bc2bc92df4570aa4746f13acb7580b9bf.tar.gz dotfiles.core-256a2c7bc2bc92df4570aa4746f13acb7580b9bf.tar.bz2 dotfiles.core-256a2c7bc2bc92df4570aa4746f13acb7580b9bf.zip |
.bachrc: Set GPG_TTY for pinentry over SSH and in Emacs
-rw-r--r-- | home/.bashrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/home/.bashrc b/home/.bashrc index 7755643..7b89e6d 100644 --- a/home/.bashrc +++ b/home/.bashrc | |||
@@ -27,6 +27,13 @@ PATH=$PATH:$HOME/bin | |||
27 | 27 | ||
28 | 28 | ||
29 | ######################################################################## | 29 | ######################################################################## |
30 | ## GPG | ||
31 | ######################################################################## | ||
32 | GPG_TTY=$(tty) | ||
33 | export GPG_TTY | ||
34 | |||
35 | |||
36 | ######################################################################## | ||
30 | ## Bash completion | 37 | ## Bash completion |
31 | ######################################################################## | 38 | ######################################################################## |
32 | [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] \ | 39 | [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] \ |