Skip to content

Instantly share code, notes, and snippets.

@kbirger
Created August 9, 2020 15:46
Show Gist options
  • Save kbirger/f167e4ac7c0a5df54e0c395d67e1c348 to your computer and use it in GitHub Desktop.
Save kbirger/f167e4ac7c0a5df54e0c395d67e1c348 to your computer and use it in GitHub Desktop.
# configure the ssh-agent service to start up automatically and add this to your PS profile
# to allow PS to work with the OpenSSH key agent that is bundled with windows
# pre-reqs: posh-git, oh-my-posh
ssh-agent
ssh-add
$env:GIT_SSH="C:\WINDOWS\System32\OpenSSH\ssh.exe"
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Agnoster
$DefaultUser = "XXX"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment