minor updates
This commit is contained in:
parent
8a5f7b8a0a
commit
6944ab1e25
9 changed files with 275 additions and 266 deletions
|
|
@ -1,5 +1,5 @@
|
|||
function envsource
|
||||
for line in (cat $argv | grep -v '^#')
|
||||
for line in (cat $argv[1] | grep -v -e '^\([[:space:]]\|#.*\)*$')
|
||||
set item (string split -m 1 '=' $line)
|
||||
set -gx $item[1] $item[2]
|
||||
echo "Exported key $item[1]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue