fix(main): use eval to load the key value pair from reading the theme
This commit is contained in:
parent
80575dd8fe
commit
10d8db8b88
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ main() {
|
|||
|
||||
# '$key' stores the key.
|
||||
# '$val' stores the value.
|
||||
local "$key"="${val:1:-1}"
|
||||
eval "$key"="$"${val}
|
||||
done < "${PLUGIN_DIR}/catppuccin-${theme}.tmuxtheme"
|
||||
|
||||
# status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue