diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-10-30 19:01:51 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-10-30 19:01:51 +0100 |
| commit | 8350aa04f51882f11bd40a51eacd4a0c47bafc02 (patch) | |
| tree | 69e94b2e26ca370108c476eade15150c34b307d1 /zsh/modules | |
| parent | 1cb7eb48c4e81626d3df6736fd0e2a866674def5 (diff) | |
| parent | 2b09251962f4b80eeee1c6e11bde8d29536915e6 (diff) | |
Merge branch 'main' of git.sr.ht:~rbdr/dotfiles
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..1d4c2a3 --- /dev/null +++ b/zsh/modules/color.zsh @@ -0,0 +1,2 @@ +ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=green,bg=white' +ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=green,bg=white' 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%} )%% ' } |