diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-10 13:31:03 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-10 13:31:03 +1200 |
commit | 835a273f0a708b5ef8c59e299b034c78b045d936 (patch) | |
tree | 95ca4e81eeb9571a301fa91c5af07940710f6739 /pdksh/pdkshrc.d/keychain.pdksh | |
parent | Merge branch 'master' into openbsd (diff) | |
download | dotfiles-835a273f0a708b5ef8c59e299b034c78b045d936.tar.gz dotfiles-835a273f0a708b5ef8c59e299b034c78b045d936.zip |
Port easy bashrc.d scripts to pdkshrc.d
Have left out anything that requires non-trivial fixes, mostly due to
variable scope or missing features.
Diffstat (limited to 'pdksh/pdkshrc.d/keychain.pdksh')
-rw-r--r-- | pdksh/pdkshrc.d/keychain.pdksh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pdksh/pdkshrc.d/keychain.pdksh b/pdksh/pdkshrc.d/keychain.pdksh new file mode 100644 index 00000000..40fe5d71 --- /dev/null +++ b/pdksh/pdkshrc.d/keychain.pdksh @@ -0,0 +1,4 @@ +# If GPG_TTY is set, update it +if [[ -n $GPG_TTY ]] ; then + GPG_TTY=$(tty) +fi |