3 # user-defined pre-exec hook
4 test -r "${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry
/preexec
&&
5 .
"${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry
/preexec
7 # site-defined pre-exec hook
8 test -r /etc
/pinentry
/preexec
&&
9 .
/etc
/pinentry
/preexec
11 test -e /usr
/lib
/libgtk-x11-2.0.so
.0 &&
12 exec /usr
/bin
/pinentry-gtk-2
"$@"
14 exec /usr
/bin
/pinentry-curses
"$@"