From 5592ea0256cf0739c671a0f477684e7a6a847990 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 20 Oct 2025 22:21:34 +0200 Subject: Light mode color improvement --- zsh/modules/color.zsh | 2 ++ zsh/modules/prompt.zsh | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 zsh/modules/color.zsh (limited to 'zsh/modules') diff --git a/zsh/modules/color.zsh b/zsh/modules/color.zsh new file mode 100644 index 0000000..ccf3d2a --- /dev/null +++ b/zsh/modules/color.zsh @@ -0,0 +1,2 @@ +ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=green,bg=15' +ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=green,bg=15' diff --git a/zsh/modules/prompt.zsh b/zsh/modules/prompt.zsh index 615ca95..5b79b3e 100644 --- a/zsh/modules/prompt.zsh +++ b/zsh/modules/prompt.zsh @@ -46,8 +46,7 @@ function prompt_setup { # Define prompts. PROMPT=' -%{%F{black}%}$(env_info) $(node_info) $(rust_info) $(python_info) -%{%F{magenta}%}%n%{%f%}@%{%F{yellow}%}$(hostname -s)%{%f%} %{%B%F{green}%}${PWD/#$HOME/~}%{%f%b%}$(git_info)%{%f%} +%{%F{black}%}$(env_info)%{%F{magenta}%}%n%{%F{8}%}@%{%F{cyan}%}$(hostname -s)%{%f%} %{%B%F{blue}%}${PWD/#$HOME/~}%{%f%b%}$(git_info)%{%f%} %(?,,%{${%B%F{white}%}[%?]%{%f%b%} )%% ' } -- cgit