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
Sometimes it is useful to remove temporary files from a directory. I
used to do this with a shell script located in /usr/bin/, however that
wasn't very convenient. Putting the script in the .zshrc allows to
maintains the very small script with all the dotfiles instead of copying
the script from machines to machines.
The default folders for pictures, music, etc starts with a capital
letter. Such folders are automatically created and used by some
programs, for example web navigators uses the download folder.
https://wiki.archlinux.org/index.php/Xdg_user_directories
I never really used this module and the only times I did I was
disappointed by the quality. Too much similar commands, no support for
block comments (each line of a block is commented individually) and so
on. Furthermore, I dislike the WTFPL license. Even the FSF do not
recommend this license.
https://www.gnu.org/licenses/license-list.html#WTFPL