mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -03:00
fish_config theme save: remove dead code
This commit is contained in:
@@ -270,13 +270,11 @@ fish_pager_color_secondary_description
|
|||||||
# variables are defined, even if empty.
|
# variables are defined, even if empty.
|
||||||
# This branch is only reachable in the case of `theme save` so $scope is always `-U`.
|
# This branch is only reachable in the case of `theme save` so $scope is always `-U`.
|
||||||
|
|
||||||
for color in (printf "%s\n" $known_colors (set --names | string match -r $theme_var_filter) | sort -u)
|
for color in (set --names | string match -r $theme_var_filter)
|
||||||
if set -q $color
|
# Cache the value from whatever scope currently defines it
|
||||||
# Cache the value from whatever scope currently defines it
|
set -l value $$color
|
||||||
set -l value $$color
|
set -eg $color
|
||||||
set -eg $color
|
set -U $color $value
|
||||||
set -U $color $value
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user