fish: update

This commit is contained in:
2025-12-29 16:29:21 +01:00
parent 184bff8b59
commit 1740c76c15
4 changed files with 72 additions and 6 deletions
+9 -5
View File
@@ -1,6 +1,10 @@
set -l theme 'Catppuccin Mocha'
set -l target_ver 3.4.0
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
if test (string join \n $FISH_VERSION $target_ver | sort -V | head -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