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
continue
end
set -l kv (string split -m 1 = -- $line)
set -gx $kv
eval export $line
end < $argv[1]
end