Skip to content

Instantly share code, notes, and snippets.

@dsaad68
Last active November 26, 2025 16:20
Show Gist options
  • Select an option

  • Save dsaad68/cf321c232334408626aec4db11455ccc to your computer and use it in GitHub Desktop.

Select an option

Save dsaad68/cf321c232334408626aec4db11455ccc to your computer and use it in GitHub Desktop.
Nushell + Oh My Posh

1. Install Nu Shell

# Windows
winget install nushell

2. Install Oh My Posh

winget install JanDeDobbeleer.OhMyPosh -s winget
Get-PoshThemes

3. Config Nushell

  1. Go to the $nu.config-path folder:
  2. Add this to the end of env.nu
# oh-my-posh
oh-my-posh init nu --config C:\Users\{user-name}\AppData\Local\Programs\oh-my-posh\themes\paradox.omp.json
  1. Add this to the end of config.nu
# oh-my-posh
source ~/.oh-my-posh.nu
@bacunix

bacunix commented Jul 19, 2025

Copy link
Copy Markdown

thanks

@francisbarton

francisbarton commented Nov 26, 2025

Copy link
Copy Markdown

Thanks for this. My problem is I don't have a ~/.oh-my-posh.nu file

fix: I just cpd the file at ~/AppData/Roaming/nushell/vendor/autoload/oh-my-posh.nu to ~/.oh-my-posh.nu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment