Update 3rd_Party_Prompts.md (#878)

`decode utf-8` not required now
This commit is contained in:
eggcaker 2022-01-29 08:41:48 +08:00 committed by GitHub
parent e91d8655c6
commit 9450bcb90c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ If you like [oh-my-posh](https://ohmyposh.dev/), you can use oh-my-posh with eng
2. Download and Install a [nerd font](https://github.com/ryanoasis/nerd-fonts)
3. Set the PROMPT_COMMAND in ~/.config/nushell/config.nu, change `M365Princess.omp.json` to whatever you like [Themes demo](https://ohmyposh.dev/docs/themes)
```
let-env PROMPT_COMMAND = { oh-my-posh --config ~/.poshthemes/M365Princess.omp.json |decode utf-8| str collect}
let-env PROMPT_COMMAND = { oh-my-posh --config ~/.poshthemes/M365Princess.omp.json }
```
4. Restart engine-q.
@ -34,4 +34,4 @@ let-env PROMPT_COMMAND = { oh-my-posh --config ~/.poshthemes/M365Princess.omp.js
## Purs
[repo](https://github.com/xcambar/purs)
[repo](https://github.com/xcambar/purs)