function source_env_file_vars for line in (cat $argv[1] | rg '^[^#\s]') set -gx (string split '=' -m 1 -- $line) end end