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

15 lines
837 B
PowerShell
Raw Normal View History

2021-06-12 02:48:43 +00:00
# curl: https://curl.se/windows/
# ag: https://github.com/k-takata/the_silver_searcher-win32/releases
# fzf: https://github.com/junegunn/fzf/releases/latest (2.7.2 not working with psfzf)
# utf-8 for i18n: Settings and then: All Settings -> Time & Language -> Language -> "Administrative Language Settings"
$PSDefaultParameterValues = @{ "*:Proxy"="http://localhost:2021" }
2021-02-26 10:12:32 +00:00
#Install-Module -Name PowerShellGet -Force -AllowPrerelease
2021-06-03 13:08:16 +00:00
Register-PSRepository -Default -InstallationPolicy Trusted
2021-02-26 10:12:32 +00:00
Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted
2021-01-14 04:56:57 +00:00
Install-Module -Name posh-git
Install-Module -Name oh-my-posh
Install-Module -Name psfzf
2021-01-13 15:20:59 +00:00
2021-02-26 10:12:32 +00:00
$dotfiles=(Get-Item $PSScriptRoot).Parent.Parent.FullName
2021-01-13 15:20:59 +00:00
New-Item -ItemType SymbolicLink -Target $dotfiles\win\profile.ps1 -Path $profile -Force