oh‐my‐zsh agnoster‐two‐line‐prompt.zsh‐theme - beroca/shell GitHub Wiki

# End the prompt, closing any open segments
prompt_end() {
  if [ -n $CURRENT_BG ](/beroca/shell/wiki/--n-$CURRENT_BG-); then
    echo -n " %{%k%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR"
  else
    echo -n "%{%k%}"
  fi
  echo -n "\n%{%f%}"
  CURRENT_BG=''
}