mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
10 lines
491 B
PowerShell
10 lines
491 B
PowerShell
|
|
# Install required modules
|
|
Install-Module posh-git -Scope CurrentUser
|
|
Install-Module oh-my-posh -Scope CurrentUser
|
|
Install-Module -Name PSDotFiles -Scope CurrentUser
|
|
|
|
# Fix git, SSH and GPG to external executables
|
|
[Environment]::SetEnvironmentVariable('GIT_SSH', "$ENV:SystemRoot\System32\OpenSSH\ssh.exe", 'User')
|
|
[Environment]::SetEnvironmentVariable('GNUPGHOME', "$ENV:APPDATA\gnupg", 'User')
|
|
Invoke-Expression "git config --global gpg.program 'c:/Program Files (x86)/GnuPG/bin/gpg.exe'" |