Add PSDotFiles support

This commit is contained in:
2020-07-14 17:37:29 +01:00
parent 8c5c68cc1c
commit 4f7c28ffe6
12 changed files with 216 additions and 1 deletions

View File

@@ -1,4 +1,10 @@
# Install required modules
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
Install-Module -Name PSDotFiles -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'"