fix(main): use eval to load the key value pair from reading the theme

This commit is contained in:
Valentin Uveges 2023-08-11 17:58:53 +03:00
parent 80575dd8fe
commit 10d8db8b88

View file

@ -234,7 +234,7 @@ main() {
# '$key' stores the key. # '$key' stores the key.
# '$val' stores the value. # '$val' stores the value.
local "$key"="${val:1:-1}" eval "$key"="$"${val}
done < "${PLUGIN_DIR}/catppuccin-${theme}.tmuxtheme" done < "${PLUGIN_DIR}/catppuccin-${theme}.tmuxtheme"
# status # status