Files
dotfiles/config/shell/.config/fish/rc.d/50-theme.fish
T
2026-07-27 02:53:24 +02:00

11 lines
336 B
Fish

set -l target_ver 4.3.0
if test (string join \n $FISH_VERSION $target_ver | sort -V | tail -n 1) = $target_ver
set -l theme 'Catppuccin Mocha'
if not set -q fish_current_theme; or not string match -q "$theme" "$fish_current_theme"
set -U fish_current_theme "$theme"
fish_config theme save "$theme"
end
end