14 lines
657 B
PowerShell
14 lines
657 B
PowerShell
# curl: https://curl.se/windows/
|
|
# ag: https://github.com/k-takata/the_silver_searcher-win32/releases
|
|
# fzf: https://github.com/junegunn/fzf/releases/latest
|
|
$PSDefaultParameterValues = @{ "*:Proxy"="http://localhost:8123" }
|
|
#Install-Module -Name PowerShellGet -Force -AllowPrerelease
|
|
Register-PSRepository -Default -InstallationPolicy Trusted
|
|
Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted
|
|
Install-Module -Name posh-git
|
|
Install-Module -Name oh-my-posh
|
|
Install-Module -Name psfzf
|
|
|
|
$dotfiles=(Get-Item $PSScriptRoot).Parent.Parent.FullName
|
|
New-Item -ItemType SymbolicLink -Target $dotfiles\win\profile.ps1 -Path $profile -Force
|