Skip to content

Instantly share code, notes, and snippets.

Last active February 27, 2022 14:02
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
My Windows Terminal Settings profile with elevated prompt for PowerShell via gsudo.
// latest version is now here:
Copy link

Nice. I ran across this blog post to accomplish pretty much the same thing.

I created 2 sets on modifications for both PowerShell and CMD in Terminal Preview, one with gsudo and one with gsudo -s (giving highest privileges, as System). Just in case I ever need such abominably high privileges on the machine.

Copy link

thushan commented Feb 27, 2022

Great idea @JohnLGalt, I've moved my terminal settings to git under a proper dotfiless now.

Using gsudo makes life a lot easier until elevation is supported natively on Windows Terminal.

Copy link

Agreed. Nice move to the git, that should help some folks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment