From 5c3e0bd90cb36971bbf1bfb3d06ee282252dc6a9 Mon Sep 17 00:00:00 2001 From: thek4n Date: Thu, 13 Aug 2026 00:31:00 +0300 Subject: [PATCH] fix zsh plugin --- configs/.config/zsh/prompt | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/configs/.config/zsh/prompt b/configs/.config/zsh/prompt index 7dc0b4a..ed7d1d8 100644 --- a/configs/.config/zsh/prompt +++ b/configs/.config/zsh/prompt @@ -1,26 +1,8 @@ -# set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color|*-256color) color_prompt=yes;; esac -# uncomment for a colored prompt, if the terminal has the capability; turned -# off by default to not distract the user: the focus in a terminal window -# should be on the output of commands, not on the prompt -force_color_prompt=yes - -if [ -n "$force_color_prompt" ]; then - if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then - # We have color support; assume it's compliant with Ecma-48 - # (ISO/IEC-6429). (Lack of such support is extremely rare, and such - # a case would tend to support setf rather than setaf.) - color_prompt=yes - else - color_prompt= - fi -fi - - setopt prompt_subst autoload -Uz vcs_info zstyle ':vcs_info:*' enable git cvs svn @@ -207,4 +189,4 @@ esac -PS2="> " \ No newline at end of file +PS2="> "