We need PowerShell Core this will not function with Windows PowerShell!
We also need git
, fzf
and oh-my-posh
If you are familiar with using powershell
-
If on windows and not already done you have to set the execution policy to remote signed
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
-
Checkout the repository into your profile directory
-
Add the following snippet at the top of your profile
# Load NRE Dotfiles $ENV:PROFILE_PATH = (Get-Item $PROFILE).Directory $ENV:NREDF_PATH = "$ENV:PROFILE_PATH\NREDF-POSH" . "$ENV:NREDF_PATH\Profile.ps1"
-
On windows import
NREDF-POSH.sst
to your Trusted Publisher cert store
Run the following snippet
Set-ExecutionPolicy Bypass -Scope Process -Force -ErrorAction SilentlyContinue; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/NemesisRE/NREDF-POSH/main/install.ps1'))