fish: remove pnpm path, add envsource function

This commit is contained in:
Smirnov Oleksandr 2022-08-25 14:52:25 +03:00
parent e18bf623f5
commit 9de04a34f1
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,7 @@
function envsource
for line in (cat $argv | grep -v '^#')
set item (string split -m 1 '=' $line)
set -gx $item[1] $item[2]
echo "Exported key $item[1]"
end
end