All my configuration files for Windows that I port around from system to system with me. The purpose of this project is to organize my PowerShell scripts and configs and sync them between machines.
These configuration files are meant to be used with PowerShell >= 7.0, but some scripts may work with bundled PowerShell interpreter.
Below are the commands you can run to get started.
To install apps run the following command in PowerShell as administrator:
Invoke-Expression -Command ".\install.ps1"
To configure system run the following command in PowerShell as administrator:
Invoke-Expression -Command ".\config.ps1"
Note: Be sure to review the code before executing random scripts on the internet.
These files are located in configs/
directory.
- Microsoft.PowerShell_profile.ps1
- ohmyposhv3-v2.json
- WindowsTerminal.json
- gitconfig
- global_gitignore
- gpg-agent.conf
- gpg-agnet.vbs
- gpg.conf
- sshcontrol
- vimfiles
PowerShell profile file to customize you environment and to add session-specific elements to every PowerShell session that you start.
Should be copied to $PROFILE.CurrentUserCurrentHost
.
Oh My Posh configuration file.
Should be copied to $env:USERPROFILE\ohmyposhv3-v2.json
.
Windows Terminal settings JSON file.
Should be copied to $env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
.
Global git config.
Should be copied to $env:USERPROFILE\.gitconfig
.
Global git ignore file.
Should be copied to $env:USERPROFILE\.gitignore
.
GnuPG Agent configuration file read by gpg-agent on startup.
Should be copied to $env:APPDATA\gnupg\gpg-agent.conf
.
By default the Gpg4Win does not work with OpenSSH out of the box. It works with Putty, but if you want to use ssh command from your terminal, or use Visual Studio Code remote connection, you must do this step.
This script start the GnuPG Agent on system startup and then starts benpye/wsl-ssh-pageant.
Should be copied to $env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\gpg-agnet.vbs
.
GnuPG configuration file read by gpg on startup.
Should be copied to $env:APPDATA\gnupg\gpg.conf
.
List of allowed ssh keys. This file is used when support for the secure shell GnuPG Agent protocol has been enabled. For more see GnuPG Agent Configuration page.
Should be copied to $env:APPDATA\gnupg\sshcontrol
Local Vim configuration directory.
Should be copied to $env:USERPROFILE\vimfiles
.