Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

adambonneruk/config-powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Config-PowerShell

My Windows PowerShell configuration, including posh-git and useful functions/aliases, I spend a lot of time in the Windows Terminal so having this configuration (publicly) available for different machines is useful.

Git Setup

Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck

SSH Setup

create and map certificates

ssh-keygen -t ed25519 -C "adam@example.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/example

# Test
ssh -T git@example.com
ssh -T git@github.com

configure ssh config: vim ~/.ssh/config

Host example.com
	Hostname example.com
	AddKeysToAgent yes
	PreferredAuthentications publickey
	IdentityFile ~/.ssh/example

Host github.com
	Hostname github.com
	AddKeysToAgent yes
	PreferredAuthentications publickey
	IdentityFile ~/.ssh/github

Preview

Useful Links

About

powershell configuration, including posh-git and useful functions/aliases

Topics

Resources

License

Stars

Watchers

Forks

Morty Proxy This is a proxified and sanitized view of the page, visit original site.