Preexec and precmd functions for Bash just like Zsh
github.com