Skip to content
This repository has been archived by the owner on Oct 25, 2018. It is now read-only.

gnupg 2.2 customization

Divesh Uttamchandani edited this page May 18, 2018 · 1 revision

CUSTOMIZATION

The file $EGPG_DIR/customize.sh can be used to redefine and customize some functions, without having to touch the code of the main script. Also, external commands can be customized (or new commands can be defined) by adding the file $EGPG_DIR/cmd_command.sh, which contains the function cmd_command() { . . . }.

In general, for an external command the script will first look for $EGPG_DIR/cmd_command.sh, then for $LIB/ext/$PLATFORM/cmd_command.sh, and finally for $LIB/ext/cmd_command.sh. The first that is found is loaded and used. For key commands the name of the file must be cmd_key_command.sh and for contact commands it must be cmd_contact_command.sh.