mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-14 02:02:29 +00:00
Add PSDotFiles support
This commit is contained in:
@@ -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'"
|
||||
Reference in New Issue
Block a user