dotfiles/win/setup/oh-my-posh.ps1

13 lines
600 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
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