From cbbfc6766181604cd22d82b8ffc70af6c93eed13 Mon Sep 17 00:00:00 2001 From: eeemsi Date: Thu, 31 Aug 2023 21:44:16 +0200 Subject: [PATCH] fix (zshrc): use a definition of PS1 that allow to be recognized while scrolling through a wall of text --- zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index f1f758a..c204101 100644 --- a/zshrc +++ b/zshrc @@ -93,9 +93,9 @@ precmd() { # check if vcs_info_msg_0_ is empty to avoid an anoying space in the prompt if [[ -z ${vcs_info_msg_0_} ]]; then - PS1='%B%F{green}%(3~|…/%2~|%~)%f %%%b ' + PS1='%B%K{white}%F{black}%(3~|…/%2~|%~)%k%f %%%b ' else - PS1='%B%F{green}%(3~|…/%2~|%~)%f %F{cyan}${vcs_info_msg_0_}%f %%%b ' + PS1='%B%K{white}%F{black}%(3~|…/%2~|%~)%k%f %F{green}${vcs_info_msg_0_}%f %%%b ' fi }