The custom bin path was set in multiple places. Each time, the line
was identical and supposed the use of a /bin/sh emulation with a
common extension. To reduce duplicated code and support other
platforms, the custom bin path is now set in a dedicated script that
can be source'd.
GnuPG 2.1.13 now uses "/run/user/$UID/gnupg/" as the default sockets
directory. This commit both update the path and cleans the way it was
handled by bash and zsh (why the hell was that done in different ways?).
https://lists.gnupg.org/pipermail/gnupg-announce/2016q2/000390.html
Having two sets of aliases is hard to manage, therefore merging bash and
zsh aliases prevents duplicate content.
Some functions set with those aliases needs to be run with sudo and
therefore keeping them as functions does not work. Hence, they have been
moved into scripts located in a new dedicated "bin" folder.
https://serverfault.com/questions/177699/how-can-i-execute-a-bash-function-with-sudo