From 1f3be81093485e6f8d86e5b4ce68e4716bff5cf6 Mon Sep 17 00:00:00 2001 From: Amolith Date: Sun, 5 Mar 2023 16:32:16 -0500 Subject: [PATCH] add catppuccin for zsh --- dot_config/zsh/themes/catppuccin-latte.zsh | 74 +++++++++++++++++++ .../zsh/themes/catppuccin-macchiato.zsh | 74 +++++++++++++++++++ 2 files changed, 148 insertions(+) create mode 100644 dot_config/zsh/themes/catppuccin-latte.zsh create mode 100644 dot_config/zsh/themes/catppuccin-macchiato.zsh diff --git a/dot_config/zsh/themes/catppuccin-latte.zsh b/dot_config/zsh/themes/catppuccin-latte.zsh new file mode 100644 index 0000000000000000000000000000000000000000..09b4cf9b986daf90d987039a27419405c31545e2 --- /dev/null +++ b/dot_config/zsh/themes/catppuccin-latte.zsh @@ -0,0 +1,74 @@ +# Catppuccin Latte Theme (for zsh-syntax-highlighting) +# +# Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting +ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) +typeset -gA ZSH_HIGHLIGHT_STYLES + +# Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md +# +## General +### Diffs +### Markup +## Classes +## Comments +ZSH_HIGHLIGHT_STYLES[comment]='fg=#acb0be' +## Constants +## Entitites +## Functions/methods +ZSH_HIGHLIGHT_STYLES[alias]='fg=#40a02b' +ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#40a02b' +ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#40a02b' +ZSH_HIGHLIGHT_STYLES[function]='fg=#40a02b' +ZSH_HIGHLIGHT_STYLES[command]='fg=#40a02b' +ZSH_HIGHLIGHT_STYLES[precommand]='fg=#40a02b,italic' +ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#fe640b,italic' +ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#fe640b' +ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#fe640b' +ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#8839ef' +## Keywords +## Built ins +ZSH_HIGHLIGHT_STYLES[builtin]='fg=#40a02b' +ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#40a02b' +ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#40a02b' +## Punctuation +ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#d20f39' +ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#4c4f69' +ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#4c4f69' +ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#4c4f69' +ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#d20f39' +ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#d20f39' +ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#d20f39' +## Serializable / Configuration Languages +## Storage +## Strings +ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#df8e1d' +ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#df8e1d' +ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#df8e1d' +ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#e64553' +ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#df8e1d' +ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#e64553' +ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#df8e1d' +## Variables +ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#4c4f69' +ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#e64553' +ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#4c4f69' +ZSH_HIGHLIGHT_STYLES[assign]='fg=#4c4f69' +ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#4c4f69' +ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#4c4f69' +## No category relevant in spec +ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#e64553' +ZSH_HIGHLIGHT_STYLES[path]='fg=#4c4f69,underline' +ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#d20f39,underline' +ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#4c4f69,underline' +ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#d20f39,underline' +ZSH_HIGHLIGHT_STYLES[globbing]='fg=#4c4f69' +ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#8839ef' +#ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' +#ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' +#ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' +#ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' +ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#e64553' +ZSH_HIGHLIGHT_STYLES[redirection]='fg=#4c4f69' +ZSH_HIGHLIGHT_STYLES[arg0]='fg=#4c4f69' +ZSH_HIGHLIGHT_STYLES[default]='fg=#4c4f69' +ZSH_HIGHLIGHT_STYLES[cursor]='fg=#4c4f69' diff --git a/dot_config/zsh/themes/catppuccin-macchiato.zsh b/dot_config/zsh/themes/catppuccin-macchiato.zsh new file mode 100644 index 0000000000000000000000000000000000000000..de6f5128eac330520d90d22d4284990209a1c1cf --- /dev/null +++ b/dot_config/zsh/themes/catppuccin-macchiato.zsh @@ -0,0 +1,74 @@ +# Catppuccin Macchiato Theme (for zsh-syntax-highlighting) +# +# Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting +ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) +typeset -gA ZSH_HIGHLIGHT_STYLES + +# Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md +# +## General +### Diffs +### Markup +## Classes +## Comments +ZSH_HIGHLIGHT_STYLES[comment]='fg=#5b6078' +## Constants +## Entitites +## Functions/methods +ZSH_HIGHLIGHT_STYLES[alias]='fg=#a6da95' +ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#a6da95' +ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#a6da95' +ZSH_HIGHLIGHT_STYLES[function]='fg=#a6da95' +ZSH_HIGHLIGHT_STYLES[command]='fg=#a6da95' +ZSH_HIGHLIGHT_STYLES[precommand]='fg=#a6da95,italic' +ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#f5a97f,italic' +ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#f5a97f' +ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#f5a97f' +ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#c6a0f6' +## Keywords +## Built ins +ZSH_HIGHLIGHT_STYLES[builtin]='fg=#a6da95' +ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#a6da95' +ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#a6da95' +## Punctuation +ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#ed8796' +ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#cad3f5' +ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#cad3f5' +ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#cad3f5' +ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#ed8796' +ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#ed8796' +ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#ed8796' +## Serializable / Configuration Languages +## Storage +## Strings +ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#eed49f' +ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#eed49f' +ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#eed49f' +ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#ee99a0' +ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#eed49f' +ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#ee99a0' +ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#eed49f' +## Variables +ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#cad3f5' +ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#ee99a0' +ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#cad3f5' +ZSH_HIGHLIGHT_STYLES[assign]='fg=#cad3f5' +ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#cad3f5' +ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#cad3f5' +## No category relevant in spec +ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#ee99a0' +ZSH_HIGHLIGHT_STYLES[path]='fg=#cad3f5,underline' +ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#ed8796,underline' +ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#cad3f5,underline' +ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#ed8796,underline' +ZSH_HIGHLIGHT_STYLES[globbing]='fg=#cad3f5' +ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#c6a0f6' +#ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' +#ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' +#ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' +#ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' +ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#ee99a0' +ZSH_HIGHLIGHT_STYLES[redirection]='fg=#cad3f5' +ZSH_HIGHLIGHT_STYLES[arg0]='fg=#cad3f5' +ZSH_HIGHLIGHT_STYLES[default]='fg=#cad3f5' +ZSH_HIGHLIGHT_STYLES[cursor]='fg=#cad3f5'