Utilities to work with bash while interactive