diff options
author | Guangxiong Lin <[email protected]> | 2022-07-14 21:51:49 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-07-14 21:51:49 +0800 |
commit | a385b4ab42c56208d36c896faf28002a6aa0f215 (patch) | |
tree | ac855a69a46f50c7bc62274b415c81ba60395863 /bin/pinentry-auto | |
parent | 7c5503a00200af09b9295b9d6acbb8978ff76770 (diff) | |
download | dotfiles-a385b4ab42c56208d36c896faf28002a6aa0f215.tar.gz dotfiles-a385b4ab42c56208d36c896faf28002a6aa0f215.tar.bz2 dotfiles-a385b4ab42c56208d36c896faf28002a6aa0f215.zip |
Use pinentry-mac in macos
Diffstat (limited to 'bin/pinentry-auto')
-rwxr-xr-x | bin/pinentry-auto | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/pinentry-auto b/bin/pinentry-auto new file mode 100755 index 0000000..a3b141f --- /dev/null +++ b/bin/pinentry-auto @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +if [[ $(uname) == Darwin ]]; then + exec pinentry-mac "$@" +fi + +exec pinentry "$@" |