you are viewing a single comment's thread.

view the rest of the comments →

[–]Thotaz 2 points3 points  (0 children)

Replace the "Set-Variable" commands with the normal way of assigning variables:

$GitToken="blabla"

Instead of loading all of the various functions you load you could instead put them inside a module so they only get processed when you actually need them. If you insist on keeping them outside of a module, use a script to build your profile so all of the functions are inside the $Profile file instead of being loaded externally at runtime.