diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 2b33c48bc..4eb94f9d2 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -166,6 +166,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=$? @@ -176,6 +182,7 @@ build_prompt() { prompt_git prompt_hg prompt_end + prompt_newline } PROMPT='%{%f%b%k%}$(build_prompt) '