[master]: Update the gpg agent function, and make sure it is run for all interactive shells.

Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>