feat: loadenv support EnvVar subsitution

This commit is contained in:
Klesh Wong 2021-11-19 00:35:10 +08:00
parent 9d066d71b7
commit 642f0d29d4

View File

@ -88,8 +88,7 @@ if status is-interactive
if string match -q '#*' $line if string match -q '#*' $line
continue continue
end end
set -l kv (string split -m 1 = -- $line) eval export $line
set -gx $kv
end < $argv[1] end < $argv[1]
end end