From e05f52d12ddac6a56556280652ca40f6e5c0f130 Mon Sep 17 00:00:00 2001 From: Vaclav Uruba Date: Wed, 5 Feb 2025 17:30:10 +0100 Subject: [PATCH] update prompt --- zsh/.zshrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index f5dbd78..c04f0e5 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -21,8 +21,14 @@ compinit REPORTTIME=5 -PROMPT="%B%F{yellow}%*%f %F{blue}%d%f %(?.%F{green}✓%f.%F{red}%?%f) -%(3L.%F{red}%L%f .)%(?.%F{green}.%F{red})%%%f%b " +#autoload -U colors +#colors +#PROMPT="%B%F{yellow}%*%f %F{blue}%d%f %(?.%F{green}✓%f.%F{red}%?%f) +#%(3L.%F{red}%L%f .)%(?.%F{green}.%F{red})%%%f%b " +autoload -U colors +colors +PROMPT="%{$fg_bold[yellow]%}%* %{%(3L.$fg_bold[red]%L .)%}%{$fg_bold[blue]%}%d %(?.$fg_bold[green]✓.$fg_bold[red]%?) +%{%(?.$fg_bold[green].$fg_bold[red])%}%%%{$reset_color%} " source $HOME/.config/.aliases source $HOME/.config/.aliases.local