mirror of
https://github.com/nushell/nushell.git
synced 2024-12-25 16:39:08 +01:00
1.1 KiB
1.1 KiB
How to configure 3rd party prompts
nerdfonts
nerdfonts are not required but they make the presentation much better.
oh-my-posh
If you like oh-my-posh, you can use oh-my-posh with engine-q with few steps. It's works great with engine-q. There is how to setup oh-my-posh with engine-q:
- Install Oh My Posh and download oh-my-posh's themes following guide
- Download and Install a nerd font
- Set the PROMPT_COMMAND in ~/.config/nushell/config.nu, change
M365Princess.omp.json
to whatever you like Themes demo
let-env PROMPT_COMMAND = { oh-my-posh --config ~/.poshthemes/M365Princess.omp.json |decode utf-8| str collect}
- Restart engine-q.