We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0696cdd commit 2f9a27fCopy full SHA for 2f9a27f
lib/bashly/libraries/config/config.sh
@@ -30,8 +30,8 @@ config_show() {
30
config_get() {
31
local key="$1"
32
local default_value="$2"
33
-
34
- config_load
+
+ config_load
35
echo "${ini["$key"]:-$default_value}"
36
}
37
@@ -43,7 +43,7 @@ config_set() {
43
44
shift
45
local value="$*"
46
47
config_load
48
ini["$key"]="$value"
49
config_save
@@ -55,7 +55,7 @@ config_set() {
55
##
56
config_del() {
57
58
59
60
unset "ini[$key]"
61
0 commit comments