Add preexec.bash from macmichael01/terminal-config

https://github.com/macmichael01/terminal-config/blob/master/bash/libs/preexec.bash