├── .catppuccin.yaml ├── .editorconfig ├── LICENSE ├── README.md ├── assets ├── Frappe.webp ├── Latte.webp ├── Macchiato.webp ├── Mocha.webp └── screenshot.webp ├── justfile ├── renovate.json ├── themes ├── catppuccin_frappe-zsh-syntax-highlighting.zsh ├── catppuccin_latte-zsh-syntax-highlighting.zsh ├── catppuccin_macchiato-zsh-syntax-highlighting.zsh └── catppuccin_mocha-zsh-syntax-highlighting.zsh └── zsh-syntax-highlighting.tera /.catppuccin.yaml: -------------------------------------------------------------------------------- 1 | # A Catppuccin RC file for zsh-syntax-highlighting. In beta, specs may change. 2 | app_name: zsh-syntax-highlighting 3 | binary_name: zsh 4 | installation: 5 | location: 6 | macos: ~/.zsh/ 7 | linux: ~/.zsh/ 8 | flavours: 9 | all: 10 | default: 11 | - themes/ 12 | mocha: 13 | default: 14 | - themes/catppuccin_mocha-zsh-syntax-highlighting.zsh 15 | macchiato: 16 | default: 17 | - themes/catppuccin_macchiato-zsh-syntax-highlighting.zsh 18 | frappe: 19 | default: 20 | - themes/catppuccin_frappe-zsh-syntax-highlighting.zsh 21 | latte: 22 | default: 23 | - themes/catppuccin_latte-zsh-syntax-highlighting.zsh 24 | to: . 25 | one_flavour: false 26 | comments: "Add `source ~/.zsh/catppuccin_mocha-zsh-syntax-highlighting.zsh` in your `.zshrc` and reload zsh to load the highlighting plugin." 27 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # EditorConfig is awesome: https://EditorConfig.org 4 | 5 | root = true 6 | 7 | [*] 8 | charset = utf-8 9 | indent_size = 2 10 | indent_style = space 11 | end_of_line = lf 12 | insert_final_newline = true 13 | trim_trailing_whitespace = true 14 | 15 | # go 16 | [*.go] 17 | indent_style = tab 18 | indent_size = 4 19 | 20 | # python 21 | [*.{ini,py,py.tpl,rst}] 22 | indent_size = 4 23 | 24 | # rust 25 | [*.rs] 26 | indent_size = 4 27 | 28 | # documentation, utils 29 | [*.{md,mdx,diff}] 30 | trim_trailing_whitespace = false 31 | 32 | # windows shell scripts 33 | [*.{cmd,bat,ps1}] 34 | end_of_line = crlf 35 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Catppuccin 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | Logo
3 | 4 | Catppuccin for zsh-syntax-highlighting 5 | 6 |

7 | 8 |

9 | 10 | 11 | 12 |

13 | 14 |

15 | 16 |

17 | 18 | ## Usage 19 | 20 | Required: [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting) 21 | 22 | * Clone this repository locally and copy catppuccin-zsh-syntax-highlighting to your preferred location on the file system, then source the file from ~/.zshrc. Note that your must source it _before_ loading the zsh-syntax-highlighting plugin. 23 | 24 | Example setup: 25 | ```bash 26 | git clone https://github.com/catppuccin/zsh-syntax-highlighting.git 27 | cd zsh-syntax-highlighting/themes/ 28 | cp -v catppuccin_mocha-zsh-syntax-highlighting.zsh ~/.zsh/ 29 | ``` 30 | 31 | Example `.zshrc`: 32 | ```bash 33 | source ~/.zsh/catppuccin_mocha-zsh-syntax-highlighting.zsh 34 | 35 | # now load zsh-syntax-highlighting plugin 36 | ``` 37 | 38 | Restart zsh 39 | ## 💝 Thanks to 40 | 41 | - [hyperreal](https://github.com/hyperreal64) 42 | 43 |   44 | 45 |

46 |

Copyright © 2021-present Catppuccin Org 47 |

48 | -------------------------------------------------------------------------------- /assets/Frappe.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catppuccin/zsh-syntax-highlighting/7926c3d3e17d26b3779851a2255b95ee650bd928/assets/Frappe.webp -------------------------------------------------------------------------------- /assets/Latte.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catppuccin/zsh-syntax-highlighting/7926c3d3e17d26b3779851a2255b95ee650bd928/assets/Latte.webp -------------------------------------------------------------------------------- /assets/Macchiato.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catppuccin/zsh-syntax-highlighting/7926c3d3e17d26b3779851a2255b95ee650bd928/assets/Macchiato.webp -------------------------------------------------------------------------------- /assets/Mocha.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catppuccin/zsh-syntax-highlighting/7926c3d3e17d26b3779851a2255b95ee650bd928/assets/Mocha.webp -------------------------------------------------------------------------------- /assets/screenshot.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catppuccin/zsh-syntax-highlighting/7926c3d3e17d26b3779851a2255b95ee650bd928/assets/screenshot.webp -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- 1 | _default: 2 | @just --list 3 | 4 | build: 5 | whiskers zsh-syntax-highlighting.tera -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "local>catppuccin/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /themes/catppuccin_frappe-zsh-syntax-highlighting.zsh: -------------------------------------------------------------------------------- 1 | # Catppuccin Frappé Theme (for zsh-syntax-highlighting) 2 | # 3 | # Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting 4 | ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) 5 | typeset -gA ZSH_HIGHLIGHT_STYLES 6 | 7 | # Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md 8 | # 9 | ## General 10 | ### Diffs 11 | ### Markup 12 | ## Classes 13 | ## Comments 14 | ZSH_HIGHLIGHT_STYLES[comment]='fg=#626880' 15 | ## Constants 16 | ## Entitites 17 | ## Functions/methods 18 | ZSH_HIGHLIGHT_STYLES[alias]='fg=#a6d189' 19 | ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#a6d189' 20 | ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#a6d189' 21 | ZSH_HIGHLIGHT_STYLES[function]='fg=#a6d189' 22 | ZSH_HIGHLIGHT_STYLES[command]='fg=#a6d189' 23 | ZSH_HIGHLIGHT_STYLES[precommand]='fg=#a6d189,italic' 24 | ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#ef9f76,italic' 25 | ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#ef9f76' 26 | ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#ef9f76' 27 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#ca9ee6' 28 | ## Keywords 29 | ## Built ins 30 | ZSH_HIGHLIGHT_STYLES[builtin]='fg=#a6d189' 31 | ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#a6d189' 32 | ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#a6d189' 33 | ## Punctuation 34 | ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#e78284' 35 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#c6d0f5' 36 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#c6d0f5' 37 | ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#c6d0f5' 38 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#e78284' 39 | ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#e78284' 40 | ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#e78284' 41 | ## Serializable / Configuration Languages 42 | ## Storage 43 | ## Strings 44 | ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#e5c890' 45 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#e5c890' 46 | ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#e5c890' 47 | ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#ea999c' 48 | ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#e5c890' 49 | ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#ea999c' 50 | ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#e5c890' 51 | ## Variables 52 | ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#c6d0f5' 53 | ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#ea999c' 54 | ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#c6d0f5' 55 | ZSH_HIGHLIGHT_STYLES[assign]='fg=#c6d0f5' 56 | ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#c6d0f5' 57 | ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#c6d0f5' 58 | ## No category relevant in spec 59 | ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#ea999c' 60 | ZSH_HIGHLIGHT_STYLES[path]='fg=#c6d0f5,underline' 61 | ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#e78284,underline' 62 | ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#c6d0f5,underline' 63 | ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#e78284,underline' 64 | ZSH_HIGHLIGHT_STYLES[globbing]='fg=#c6d0f5' 65 | ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#ca9ee6' 66 | #ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' 67 | #ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' 68 | #ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' 69 | #ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' 70 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#ea999c' 71 | ZSH_HIGHLIGHT_STYLES[redirection]='fg=#c6d0f5' 72 | ZSH_HIGHLIGHT_STYLES[arg0]='fg=#c6d0f5' 73 | ZSH_HIGHLIGHT_STYLES[default]='fg=#c6d0f5' 74 | ZSH_HIGHLIGHT_STYLES[cursor]='fg=#c6d0f5' 75 | -------------------------------------------------------------------------------- /themes/catppuccin_latte-zsh-syntax-highlighting.zsh: -------------------------------------------------------------------------------- 1 | # Catppuccin Latte Theme (for zsh-syntax-highlighting) 2 | # 3 | # Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting 4 | ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) 5 | typeset -gA ZSH_HIGHLIGHT_STYLES 6 | 7 | # Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md 8 | # 9 | ## General 10 | ### Diffs 11 | ### Markup 12 | ## Classes 13 | ## Comments 14 | ZSH_HIGHLIGHT_STYLES[comment]='fg=#acb0be' 15 | ## Constants 16 | ## Entitites 17 | ## Functions/methods 18 | ZSH_HIGHLIGHT_STYLES[alias]='fg=#40a02b' 19 | ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#40a02b' 20 | ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#40a02b' 21 | ZSH_HIGHLIGHT_STYLES[function]='fg=#40a02b' 22 | ZSH_HIGHLIGHT_STYLES[command]='fg=#40a02b' 23 | ZSH_HIGHLIGHT_STYLES[precommand]='fg=#40a02b,italic' 24 | ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#fe640b,italic' 25 | ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#fe640b' 26 | ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#fe640b' 27 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#8839ef' 28 | ## Keywords 29 | ## Built ins 30 | ZSH_HIGHLIGHT_STYLES[builtin]='fg=#40a02b' 31 | ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#40a02b' 32 | ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#40a02b' 33 | ## Punctuation 34 | ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#d20f39' 35 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#4c4f69' 36 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#4c4f69' 37 | ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#4c4f69' 38 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#d20f39' 39 | ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#d20f39' 40 | ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#d20f39' 41 | ## Serializable / Configuration Languages 42 | ## Storage 43 | ## Strings 44 | ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#df8e1d' 45 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#df8e1d' 46 | ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#df8e1d' 47 | ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#e64553' 48 | ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#df8e1d' 49 | ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#e64553' 50 | ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#df8e1d' 51 | ## Variables 52 | ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#4c4f69' 53 | ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#e64553' 54 | ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#4c4f69' 55 | ZSH_HIGHLIGHT_STYLES[assign]='fg=#4c4f69' 56 | ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#4c4f69' 57 | ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#4c4f69' 58 | ## No category relevant in spec 59 | ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#e64553' 60 | ZSH_HIGHLIGHT_STYLES[path]='fg=#4c4f69,underline' 61 | ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#d20f39,underline' 62 | ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#4c4f69,underline' 63 | ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#d20f39,underline' 64 | ZSH_HIGHLIGHT_STYLES[globbing]='fg=#4c4f69' 65 | ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#8839ef' 66 | #ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' 67 | #ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' 68 | #ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' 69 | #ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' 70 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#e64553' 71 | ZSH_HIGHLIGHT_STYLES[redirection]='fg=#4c4f69' 72 | ZSH_HIGHLIGHT_STYLES[arg0]='fg=#4c4f69' 73 | ZSH_HIGHLIGHT_STYLES[default]='fg=#4c4f69' 74 | ZSH_HIGHLIGHT_STYLES[cursor]='fg=#4c4f69' 75 | -------------------------------------------------------------------------------- /themes/catppuccin_macchiato-zsh-syntax-highlighting.zsh: -------------------------------------------------------------------------------- 1 | # Catppuccin Macchiato Theme (for zsh-syntax-highlighting) 2 | # 3 | # Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting 4 | ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) 5 | typeset -gA ZSH_HIGHLIGHT_STYLES 6 | 7 | # Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md 8 | # 9 | ## General 10 | ### Diffs 11 | ### Markup 12 | ## Classes 13 | ## Comments 14 | ZSH_HIGHLIGHT_STYLES[comment]='fg=#5b6078' 15 | ## Constants 16 | ## Entitites 17 | ## Functions/methods 18 | ZSH_HIGHLIGHT_STYLES[alias]='fg=#a6da95' 19 | ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#a6da95' 20 | ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#a6da95' 21 | ZSH_HIGHLIGHT_STYLES[function]='fg=#a6da95' 22 | ZSH_HIGHLIGHT_STYLES[command]='fg=#a6da95' 23 | ZSH_HIGHLIGHT_STYLES[precommand]='fg=#a6da95,italic' 24 | ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#f5a97f,italic' 25 | ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#f5a97f' 26 | ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#f5a97f' 27 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#c6a0f6' 28 | ## Keywords 29 | ## Built ins 30 | ZSH_HIGHLIGHT_STYLES[builtin]='fg=#a6da95' 31 | ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#a6da95' 32 | ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#a6da95' 33 | ## Punctuation 34 | ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#ed8796' 35 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#cad3f5' 36 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#cad3f5' 37 | ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#cad3f5' 38 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#ed8796' 39 | ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#ed8796' 40 | ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#ed8796' 41 | ## Serializable / Configuration Languages 42 | ## Storage 43 | ## Strings 44 | ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#eed49f' 45 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#eed49f' 46 | ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#eed49f' 47 | ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#ee99a0' 48 | ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#eed49f' 49 | ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#ee99a0' 50 | ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#eed49f' 51 | ## Variables 52 | ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#cad3f5' 53 | ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#ee99a0' 54 | ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#cad3f5' 55 | ZSH_HIGHLIGHT_STYLES[assign]='fg=#cad3f5' 56 | ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#cad3f5' 57 | ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#cad3f5' 58 | ## No category relevant in spec 59 | ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#ee99a0' 60 | ZSH_HIGHLIGHT_STYLES[path]='fg=#cad3f5,underline' 61 | ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#ed8796,underline' 62 | ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#cad3f5,underline' 63 | ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#ed8796,underline' 64 | ZSH_HIGHLIGHT_STYLES[globbing]='fg=#cad3f5' 65 | ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#c6a0f6' 66 | #ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' 67 | #ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' 68 | #ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' 69 | #ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' 70 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#ee99a0' 71 | ZSH_HIGHLIGHT_STYLES[redirection]='fg=#cad3f5' 72 | ZSH_HIGHLIGHT_STYLES[arg0]='fg=#cad3f5' 73 | ZSH_HIGHLIGHT_STYLES[default]='fg=#cad3f5' 74 | ZSH_HIGHLIGHT_STYLES[cursor]='fg=#cad3f5' 75 | -------------------------------------------------------------------------------- /themes/catppuccin_mocha-zsh-syntax-highlighting.zsh: -------------------------------------------------------------------------------- 1 | # Catppuccin Mocha Theme (for zsh-syntax-highlighting) 2 | # 3 | # Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting 4 | ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) 5 | typeset -gA ZSH_HIGHLIGHT_STYLES 6 | 7 | # Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md 8 | # 9 | ## General 10 | ### Diffs 11 | ### Markup 12 | ## Classes 13 | ## Comments 14 | ZSH_HIGHLIGHT_STYLES[comment]='fg=#585b70' 15 | ## Constants 16 | ## Entitites 17 | ## Functions/methods 18 | ZSH_HIGHLIGHT_STYLES[alias]='fg=#a6e3a1' 19 | ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#a6e3a1' 20 | ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#a6e3a1' 21 | ZSH_HIGHLIGHT_STYLES[function]='fg=#a6e3a1' 22 | ZSH_HIGHLIGHT_STYLES[command]='fg=#a6e3a1' 23 | ZSH_HIGHLIGHT_STYLES[precommand]='fg=#a6e3a1,italic' 24 | ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#fab387,italic' 25 | ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#fab387' 26 | ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#fab387' 27 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#cba6f7' 28 | ## Keywords 29 | ## Built ins 30 | ZSH_HIGHLIGHT_STYLES[builtin]='fg=#a6e3a1' 31 | ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#a6e3a1' 32 | ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#a6e3a1' 33 | ## Punctuation 34 | ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#f38ba8' 35 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#cdd6f4' 36 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#cdd6f4' 37 | ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#cdd6f4' 38 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#f38ba8' 39 | ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#f38ba8' 40 | ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#f38ba8' 41 | ## Serializable / Configuration Languages 42 | ## Storage 43 | ## Strings 44 | ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#f9e2af' 45 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#f9e2af' 46 | ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#f9e2af' 47 | ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#eba0ac' 48 | ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#f9e2af' 49 | ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#eba0ac' 50 | ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#f9e2af' 51 | ## Variables 52 | ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#cdd6f4' 53 | ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#eba0ac' 54 | ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#cdd6f4' 55 | ZSH_HIGHLIGHT_STYLES[assign]='fg=#cdd6f4' 56 | ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#cdd6f4' 57 | ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#cdd6f4' 58 | ## No category relevant in spec 59 | ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#eba0ac' 60 | ZSH_HIGHLIGHT_STYLES[path]='fg=#cdd6f4,underline' 61 | ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#f38ba8,underline' 62 | ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#cdd6f4,underline' 63 | ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#f38ba8,underline' 64 | ZSH_HIGHLIGHT_STYLES[globbing]='fg=#cdd6f4' 65 | ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#cba6f7' 66 | #ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' 67 | #ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' 68 | #ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' 69 | #ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' 70 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#eba0ac' 71 | ZSH_HIGHLIGHT_STYLES[redirection]='fg=#cdd6f4' 72 | ZSH_HIGHLIGHT_STYLES[arg0]='fg=#cdd6f4' 73 | ZSH_HIGHLIGHT_STYLES[default]='fg=#cdd6f4' 74 | ZSH_HIGHLIGHT_STYLES[cursor]='fg=#cdd6f4' 75 | -------------------------------------------------------------------------------- /zsh-syntax-highlighting.tera: -------------------------------------------------------------------------------- 1 | --- 2 | accent: mauve 3 | whiskers: 4 | version: "2.3.0" 5 | matrix: 6 | - flavor 7 | filename: "themes/catppuccin_{{ flavor.identifier }}-zsh-syntax-highlighting.zsh" 8 | --- 9 | # Catppuccin {{ flavor.name }} Theme (for zsh-syntax-highlighting) 10 | # 11 | # Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting 12 | ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) 13 | typeset -gA ZSH_HIGHLIGHT_STYLES 14 | 15 | # Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md 16 | # 17 | ## General 18 | ### Diffs 19 | ### Markup 20 | ## Classes 21 | ## Comments 22 | ZSH_HIGHLIGHT_STYLES[comment]='fg=#{{ surface2.hex }}' 23 | ## Constants 24 | ## Entitites 25 | ## Functions/methods 26 | ZSH_HIGHLIGHT_STYLES[alias]='fg=#{{ green.hex }}' 27 | ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#{{ green.hex }}' 28 | ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#{{ green.hex }}' 29 | ZSH_HIGHLIGHT_STYLES[function]='fg=#{{ green.hex }}' 30 | ZSH_HIGHLIGHT_STYLES[command]='fg=#{{ green.hex }}' 31 | ZSH_HIGHLIGHT_STYLES[precommand]='fg=#{{ green.hex }},italic' 32 | ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#{{ peach.hex }},italic' 33 | ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#{{ peach.hex }}' 34 | ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#{{ peach.hex }}' 35 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#{{ mauve.hex }}' 36 | ## Keywords 37 | ## Built ins 38 | ZSH_HIGHLIGHT_STYLES[builtin]='fg=#{{ green.hex }}' 39 | ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#{{ green.hex }}' 40 | ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#{{ green.hex }}' 41 | ## Punctuation 42 | ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#{{ red.hex }}' 43 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#{{ text.hex }}' 44 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#{{ text.hex }}' 45 | ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#{{ text.hex }}' 46 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#{{ red.hex }}' 47 | ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#{{ red.hex }}' 48 | ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#{{ red.hex }}' 49 | ## Serializable / Configuration Languages 50 | ## Storage 51 | ## Strings 52 | ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#{{ yellow.hex }}' 53 | ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#{{ yellow.hex }}' 54 | ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#{{ yellow.hex }}' 55 | ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#{{ maroon.hex }}' 56 | ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#{{ yellow.hex }}' 57 | ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#{{ maroon.hex }}' 58 | ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#{{ yellow.hex }}' 59 | ## Variables 60 | ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#{{ text.hex }}' 61 | ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#{{ maroon.hex }}' 62 | ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#{{ text.hex }}' 63 | ZSH_HIGHLIGHT_STYLES[assign]='fg=#{{ text.hex }}' 64 | ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#{{ text.hex }}' 65 | ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#{{ text.hex }}' 66 | ## No category relevant in spec 67 | ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#{{ maroon.hex }}' 68 | ZSH_HIGHLIGHT_STYLES[path]='fg=#{{ text.hex }},underline' 69 | ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#{{ red.hex }},underline' 70 | ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#{{ text.hex }},underline' 71 | ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#{{ red.hex }},underline' 72 | ZSH_HIGHLIGHT_STYLES[globbing]='fg=#{{ text.hex }}' 73 | ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#{{ mauve.hex }}' 74 | #ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' 75 | #ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' 76 | #ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' 77 | #ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' 78 | ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#{{ maroon.hex }}' 79 | ZSH_HIGHLIGHT_STYLES[redirection]='fg=#{{ text.hex }}' 80 | ZSH_HIGHLIGHT_STYLES[arg0]='fg=#{{ text.hex }}' 81 | ZSH_HIGHLIGHT_STYLES[default]='fg=#{{ text.hex }}' 82 | ZSH_HIGHLIGHT_STYLES[cursor]='fg=#{{ text.hex }}' 83 | --------------------------------------------------------------------------------