mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
wip: zsh
This commit is contained in:
parent
002fad13df
commit
1010e8150f
7 changed files with 376 additions and 0 deletions
31
modules/programs/zsh/theme.zsh
Normal file
31
modules/programs/zsh/theme.zsh
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Zsh theme configuration
|
||||
# Starship prompt is configured via starship.toml
|
||||
|
||||
# Syntax highlighting colors (fish-like)
|
||||
typeset -gA ZSH_HIGHLIGHT_STYLES
|
||||
ZSH_HIGHLIGHT_STYLES[default]='none'
|
||||
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold'
|
||||
ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=green'
|
||||
ZSH_HIGHLIGHT_STYLES[alias]='fg=blue'
|
||||
ZSH_HIGHLIGHT_STYLES[builtin]='fg=blue'
|
||||
ZSH_HIGHLIGHT_STYLES[function]='fg=blue'
|
||||
ZSH_HIGHLIGHT_STYLES[command]='fg=blue'
|
||||
ZSH_HIGHLIGHT_STYLES[precommand]='fg=blue,underline'
|
||||
ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=green'
|
||||
ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=blue'
|
||||
ZSH_HIGHLIGHT_STYLES[path]='underline'
|
||||
ZSH_HIGHLIGHT_STYLES[path_prefix]='underline'
|
||||
ZSH_HIGHLIGHT_STYLES[globbing]='fg=cyan'
|
||||
ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=cyan'
|
||||
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=cyan'
|
||||
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=cyan'
|
||||
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=magenta'
|
||||
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=yellow'
|
||||
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=yellow'
|
||||
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=yellow'
|
||||
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=cyan'
|
||||
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=cyan'
|
||||
ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=cyan'
|
||||
ZSH_HIGHLIGHT_STYLES[redirection]='fg=cyan,bold'
|
||||
ZSH_HIGHLIGHT_STYLES[comment]='fg=red'
|
||||
ZSH_HIGHLIGHT_STYLES[arg0]='fg=blue'
|
||||
Loading…
Add table
Add a link
Reference in a new issue