Skip to content

Instantly share code, notes, and snippets.

@home-gihub
Last active June 17, 2023 17:55
Show Gist options
  • Save home-gihub/db11d168e4325a24b9d0b95cb5194b5e to your computer and use it in GitHub Desktop.
Save home-gihub/db11d168e4325a24b9d0b95cb5194b5e to your computer and use it in GitHub Desktop.
simple script to get a few things for powershell
echo ' ___ _ _ _ _ '
echo '|_ _|_ _ __| |_ __ _| | (_)_ _ __ _ '
echo ' | || ` \(_-< _/ _` | | | | ` \/ _` |'
echo '|___|_||_/__/\__\__,_|_|_|_|_||_\__, |'
echo ' |___/ '
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
irm get.scoop.sh | iex
scoop install git
scoop bucket add extras
scoop install https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/oh-my-posh.json
scoop install whkd
scoop install komorebi
iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/master/komorebi.generated.ps1 -OutFile $Env:USERPROFILE\komorebi.generated.ps1
iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/master/komorebi.sample.ps1 -OutFile $Env:USERPROFILE\komorebi.ps1
mkdir $Env:USERPROFILE\.config -ea 0
iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/master/whkdrc.sample -OutFile $Env:USERPROFILE\.config\whkdrc
komorebic start --await-configuration
oh-my-posh init pwsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/jandedobbeleer.omp.json' | Invoke-Expression
oh-my-posh font install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment