# HG changeset patch # User zegervdv # Date 1670063339 -3600 # Node ID 164683291d2fbc40f919d39ce41d7e48d82d8e0d # Parent 787e0516daa5ec3cd15784df9ff45329da8aae13 feat: setup fsh colorscheme in darkmode diff -r 787e0516daa5 -r 164683291d2f .chezmoiscripts/run_onchange_after_apply-zsh-theme.sh.tmpl --- a/.chezmoiscripts/run_onchange_after_apply-zsh-theme.sh.tmpl Sat Dec 03 11:20:16 2022 +0100 +++ b/.chezmoiscripts/run_onchange_after_apply-zsh-theme.sh.tmpl Sat Dec 03 11:28:59 2022 +0100 @@ -1,7 +1,7 @@ {{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}} #!/usr/bin/env zsh -# overlay hash: {{ include "dot_config/fsh/overlay.ini" | sha256sum }} +# overlay hash: {{ include "dot_config/fsh/overlay.ini.tmpl" | sha256sum }} source ~/.zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh diff -r 787e0516daa5 -r 164683291d2f dot_config/fsh/overlay.ini --- a/dot_config/fsh/overlay.ini Sat Dec 03 11:20:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ -[base] -unknown-token = #d71707 - -[paths] -path = #0b51a6 -path-to-dir = #4f9fcf -pathseparator = #4f9eeb - -[command-point] -reserved-word = #4e279a -subcommand = #4e279a -builtin = green -function = green -command = green -precommand = green -hashed-command = green -global-alias = #2f6f9f,bg:#f5faff - -[arguments] -single-hyphen-option = #2f6f9f,bg:#f5faff -double-hyphen-option = #2f6f9f,bg:#f5faff -single-quoted-argument = #000000,bg:#e8ffd5,bold -double-quoted-argument = #000000,bg:#e8ffd5,bold -dollar-quoted-argument = #000000,bg:#e8ffd5,bold - -[other] -variable = #7653c1,bg:#f3f2ff - -[for-loop] -foroper = #2f6f9f,bg:#f4faff - -[math] -mathnum = #7653c1,bg:#f3f2ff diff -r 787e0516daa5 -r 164683291d2f dot_config/fsh/overlay.ini.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dot_config/fsh/overlay.ini.tmpl Sat Dec 03 11:28:59 2022 +0100 @@ -0,0 +1,37 @@ +{{ if .dark }} +# No config +{{ else }} +[base] +unknown-token = #d71707 + +[paths] +path = #0b51a6 +path-to-dir = #4f9fcf +pathseparator = #4f9eeb + +[command-point] +reserved-word = #4e279a +subcommand = #4e279a +builtin = green +function = green +command = green +precommand = green +hashed-command = green +global-alias = #2f6f9f,bg:#f5faff + +[arguments] +single-hyphen-option = #2f6f9f,bg:#f5faff +double-hyphen-option = #2f6f9f,bg:#f5faff +single-quoted-argument = #000000,bg:#e8ffd5,bold +double-quoted-argument = #000000,bg:#e8ffd5,bold +dollar-quoted-argument = #000000,bg:#e8ffd5,bold + +[other] +variable = #7653c1,bg:#f3f2ff + +[for-loop] +foroper = #2f6f9f,bg:#f4faff + +[math] +mathnum = #7653c1,bg:#f3f2ff +{{ end }}