diff --git a/functions/@str-read-toml b/functions/@str-read-toml index 8610dd2..ab39b59 100644 --- a/functions/@str-read-toml +++ b/functions/@str-read-toml @@ -27,6 +27,8 @@ # @str-read-toml() { + emulate -LR zsh -o extendedglob -o warncreateglobal -o typesetsilent + local __toml_file="$1" __out_hash="${2:-TOML}" __key_prefix="$3" local IFS='' __line __cur_section="void" __access_string REPLY local -a match mbegin mend @@ -66,4 +68,4 @@ done < "$__toml_file" return 0 -} \ No newline at end of file +}