mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-25 00:47:06 +08:00
bug fix (Fri Jan 6 15:11:24 CST 2023)
This commit is contained in:
parent
f879ca6bd0
commit
9ab5b608c8
|
@ -87,7 +87,7 @@ prepare_config()
|
||||||
fmt_note "preparing dotfiles configurations ..."
|
fmt_note "preparing dotfiles configurations ..."
|
||||||
local key value
|
local key value
|
||||||
for i in "${DFS_CONFIGS[@]}"; do
|
for i in "${DFS_CONFIGS[@]}"; do
|
||||||
if [[ $i =~ *=* ]]; then
|
if [[ "$i" == *"="* ]]; then
|
||||||
key=${i%%=*}
|
key=${i%%=*}
|
||||||
value=${i#*=}
|
value=${i#*=}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user