dotfiles/fish/functions/fish_load_env.fish

7 lines
147 B
Fish
Raw Normal View History

2022-04-18 12:17:08 +00:00
function fish_load_env
for i in (cat $argv)
set arr (echo $i | tr = \n)
set -gx $arr[1] (echo $arr[2] | tr -d '"')
end
end