diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-10-20 22:21:34 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-10-20 22:21:34 +0200 |
| commit | 5592ea0256cf0739c671a0f477684e7a6a847990 (patch) | |
| tree | d34c3b3ed652f05ac0c373e02c7fa7bc996e1252 /zsh/modules | |
| parent | 34eb520236eeeb4eb5417c184541bfb9d0d5efee (diff) | |
Light mode color improvement
Diffstat (limited to 'zsh/modules')
| -rw-r--r-- | zsh/modules/color.zsh | 2 | ||||
| -rw-r--r-- | zsh/modules/prompt.zsh | 3 |
2 files changed, 3 insertions, 2 deletions
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%} )%% ' } |