Skip to content

Instantly share code, notes, and snippets.

@filviu
Last active November 2, 2021 11:50
  • Star 0 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
Embed
What would you like to do?
Powershell CTRL+D to exit terminal.

You need to run

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

in an Administrator PowerShell terminal.

# drop in Documents\WindowsPowerShell
# Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Set-PSReadlineKeyHandler -Key ctrl+d -Function ViExit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment