Files
dotfiles/config/shell/.config/fish/conf.d/50-theme.fish

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