bash/zsh library of functions