]> us-delaporte.pagekite.me Git - dotfiles.git/blob - psmodules/add_to_profile.psm1
Disable accessible view
[dotfiles.git] / 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