#!/usr/bin/env bash prompt_setter() { # Save history history -a history -c history -r PS1="$yellow(\t)$reset_color $(scm_char) [$blue\u$reset_color@$green\H$reset_color] $blue\w${reset_color}$red$(scm_prompt_info) $reset_color " PS2='> ' PS4='+ ' } PROMPT_COMMAND=prompt_setter SCM_THEME_PROMPT_DIRTY=" ✗" SCM_THEME_PROMPT_CLEAN=" ✓" SCM_THEME_PROMPT_PREFIX=" (" SCM_THEME_PROMPT_SUFFIX=")"