From cfc0d9ccc70d775388b25be508ec69501bb4e14d Mon Sep 17 00:00:00 2001 From: logaritmisk Date: Wed, 2 Sep 2015 10:03:34 +0200 Subject: [PATCH] Change color and no new line. --- pure.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pure.zsh b/pure.zsh index b104ac4..3423866 100644 --- a/pure.zsh +++ b/pure.zsh @@ -116,7 +116,7 @@ prompt_pure_preprompt_render() { [[ -n ${prompt_pure_git_last_dirty_check_timestamp+x} ]] && git_color=red # construct preprompt, beginning with path - local preprompt="%F{blue}%~%f" + local preprompt="%F[0]%~%f" # git info preprompt+="%F{$git_color}${vcs_info_msg_0_}${prompt_pure_git_dirty}%f" # git pull/push arrows @@ -128,7 +128,7 @@ prompt_pure_preprompt_render() { # if executing through precmd, do not perform fancy terminal editing if [[ "$1" == "precmd" ]]; then - print -P "\n${preprompt}" + print -P "${preprompt}" else # only redraw if preprompt has changed [[ "${prompt_pure_last_preprompt}" != "${preprompt}" ]] || return