Files
dotfiles/fish/functions/source_env_file_vars.fish
T
2026-01-17 23:05:11 +02:00

6 lines
137 B
Fish

function source_env_file_vars
for line in (cat $argv[1] | rg '^[^#\s]')
set -gx (string split '=' -m 1 -- $line)
end
end