From 9b54ebc3666f3597e393a4ce9912c6a4fccc8504 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 22 Aug 2018 10:24:54 +0100 Subject: [PATCH] Add fast-syntax-highlighting theme: fresh --- fresh.ini | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ zshrc | 1 + 2 files changed, 77 insertions(+) create mode 100644 fresh.ini diff --git a/fresh.ini b/fresh.ini new file mode 100644 index 0000000..adae3c8 --- /dev/null +++ b/fresh.ini @@ -0,0 +1,76 @@ +; fresh fast-syntax-highlighting theme + +[base] +default = none +unknown-token = red,bold +commandseparator = none +redirection = none +here-string-tri = yellow +here-string-word = bg:blue +exec-descriptor = yellow,bold +comment = black,bold +correct-subtle = none +incorrect-subtle = red +subtle-bg = bg:blue +secondary = + +[command-point] +reserved-word = yellow +alias = green +suffix-alias = green +global-alias = bg:blue +builtin = green +function = green +command = green +precommand = green +hashed-command = green + +[paths] +path = none +pathseparator = none +path-to-dir = none +globbing = blue,bold + +[brackets] +paired-bracket = bg:blue +bracket-level-1 = green,bold +bracket-level-2 = yellow,bold +bracket-level-3 = cyan,bold + +[arguments] +single-hyphen-option = cyan +double-hyphen-option = cyan +back-quoted-argument = none +single-quoted-argument = yellow +double-quoted-argument = yellow +dollar-quoted-argument = yellow + +[in-string] +; backslash in $'...' +back-dollar-quoted-argument = cyan +; backslash or $... in "..." +back-or-dollar-double-quoted-argument = cyan + +[other] +variable = 113 +assign = none +assign-array-bracket = green +history-expansion = blue,bold + +[math] +mathvar = blue,bold +mathnum = magenta +matherr = red + +[for-loop] +forvar = none +fornum = magenta +; operator +foroper = yellow +; separator +forsep = yellow,bold + +[case] +case-input = green +case-parentheses = yellow +case-condition = bg:blue diff --git a/zshrc b/zshrc index 740d15c..4dab3fd 100644 --- a/zshrc +++ b/zshrc @@ -20,6 +20,7 @@ source-plugin zsh-history-substring-search # Command syntax highlighting source-plugin fast-syntax-highlighting +fast-theme -q ~/.config/zsh/fresh.ini # Automatically source .enter and .exit scripts on cd source-plugin autoenv