/poshfiles

Primary LanguagePowerShell

PowerShell Profile

Set Profile

code $PROFILE

$PROFILE

$script = "$Home\poshfiles\profile.ps1"
if (Test-Path $script) {
  . $script
}

Install PowerShell7

Install Scoop

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
iwr -useb get.scoop.sh | iex

Install some tools with scoop

scoop bucket add extras
  • starship
  • aria2
  • git
  • lazygit
  • scoop-completion
  • neovim
  • fzf
  • psfzf
  • neofetch
  • bottom
  • gsudo

Update tools

scoop update *

Setup Neovim

Install vim-plug

iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
    ni "$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim" -Force

neovim

:PlugInstall