From aee6a6a4dc56f27e657b3562f0532736aa7a4a5e Mon Sep 17 00:00:00 2001 From: ikhthiandor Date: Sat, 26 Jul 2014 04:39:32 +0600 Subject: [PATCH] Add a newline to the prompt for convenience --- themes/agnoster.zsh-theme | 7 +++++++ 1 file changed, 7 insertions(+) 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) '