all repos

dotfiles @ d0ed79ba00c30d590fc0214285f1c3d6d4dc5f95

my dotfiles

config/fish/functions/envsource.fish (view raw)

1
2
3
4
5
6
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