Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Don't sign activate.ps1 #816
The PowerShell activation script is signed. This allows users set the PowerShell execution policy to AllSigned. On the other hand, it prevents the script from setting a user-specified prompt, requiring users to manually change the script instead of using the --prompt flag.
Unsigned scripts require the 'unrestricted' execution policy. I don't know any developer that hasn't set the execution policy to 'unrestricted' anyway, as it prevents the ability to run your own scripts.
So I suggest not signing the script, and supporting custom prompts.
To run a locally-written script,