posix source
This commit is contained in:
parent
f0dc8094bf
commit
c7cb6f1f19
|
@ -0,0 +1,8 @@
|
|||
function posix-source
|
||||
for i in (cat $argv)
|
||||
if test (echo $i | sed -E 's/^[[:space:]]*(.).+$/\\1/g') != "#"
|
||||
set arr (string split -m1 = $i)
|
||||
set -gx $arr[1] $arr[2]
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue