diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 07546fd34..d2c6a7f3a 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -212,6 +212,12 @@ prompt_status() { [[ -n "$symbols" ]] && prompt_segment black default "$symbols" } +# Add a newline to the prompt for convenience +prompt_newline() { + + echo "\n→" +} + ## Main prompt build_prompt() { RETVAL=$? @@ -223,6 +229,7 @@ build_prompt() { prompt_bzr prompt_hg prompt_end + prompt_newline } PROMPT='%{%f%b%k%}$(build_prompt) '