feat: auto theme for fish shell (WIP)

This commit is contained in:
grassblock 2024-12-13 23:13:04 +08:00
parent bf733f454f
commit 43df9bea2e
2 changed files with 44 additions and 0 deletions

View file

@ -1,5 +1,12 @@
if status is-interactive
# Commands to run in interactive sessions can go here
# set theme
if string match -q -- light (darkman get)
yes | fish_config theme save "ayu Light"
else
yes | fish_config theme save "Nord"
end
end
# zellij init for alacritty