]> us-delaporte.pagekite.me Git - dotfiles.git/blob - archive_files/psmodules/add_to_profile.psm1
Add utils env
[dotfiles.git] / archive_files / psmodules / add_to_profile.psm1
1 function Add-ToProfile {
2 param (
3 $Path
4 )
5 $profileContents = [string]::join([environment]::newline, (get-content -path $Path))
6 invoke-expression $profileContents
7 }
8 Export-ModuleMember -Function Add-ToProfile