From 8fb766ba353836e537167dc3390c5bf54de479b5 Mon Sep 17 00:00:00 2001 From: Andrea Mistrali Date: Wed, 12 Feb 2020 13:06:06 +0100 Subject: [PATCH] More compact prompt --- zsh.d/prompts/pure/pure.zsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zsh.d/prompts/pure/pure.zsh b/zsh.d/prompts/pure/pure.zsh index 4905944..0a8a700 100644 --- a/zsh.d/prompts/pure/pure.zsh +++ b/zsh.d/prompts/pure/pure.zsh @@ -201,13 +201,13 @@ prompt_pure_preprompt_render() { local expanded_prompt expanded_prompt="${(S%%)PROMPT}" - if [[ $1 == precmd ]]; then + # if [[ $1 == precmd ]]; then # Initial newline, for spaciousness. - print - elif [[ $prompt_pure_last_prompt != $expanded_prompt ]]; then + # print + # elif [[ $prompt_pure_last_prompt != $expanded_prompt ]]; then # Redraw the prompt. prompt_pure_reset_prompt - fi + # fi