From f7d41acf8d9f949816675077836503dcb2f77129 Mon Sep 17 00:00:00 2001 From: Julian Pawlowski <75446+jpawlowski@users.noreply.github.com> Date: Sat, 10 Aug 2024 01:40:24 +0200 Subject: [PATCH] update NOTES --- src/powershell-extended/NOTES.md | 13 +++++++++++++ .../devcontainers.minimal.omp.png} | Bin 2 files changed, 13 insertions(+) rename src/powershell-extended/{dotfiles/.config/oh-my-posh/themes/devcontainers.png => images/devcontainers.minimal.omp.png} (100%) diff --git a/src/powershell-extended/NOTES.md b/src/powershell-extended/NOTES.md index 634b194..06432b7 100644 --- a/src/powershell-extended/NOTES.md +++ b/src/powershell-extended/NOTES.md @@ -8,6 +8,19 @@ included with PowerShell since version 7.4.0. The new configuration options support an advanced syntax for 3rd party installation repositories as well as enhanced version definition, including version ranges and pre-releases. +## Terminal Prompt Theme + +This feature comes with a custom [Oh My Posh](https://ohmyposh.dev/) theme to adjust the terminal prompt. + +[![Oh My Posh theme: devcontainers.minimal](images/devcontainers.minimal.omp.png)](https://ohmyposh.dev/docs/themes) + +You may [change the theme](https://ohmyposh.dev/docs/themes) to one of the preinstalled ones by setting the container environment +variables `PSPROFILE_POSH_THEME` (for the PowerShell host) and/or `VSCODE_POSH_THEME` (for the VSCode PowerShell Extension) +to the name of the desired theme. You may also put your own theme into the `~/.config/oh-my-posh/themes` folder. + +> **Note**: Most themes require installing a [Nerd Font](https://ohmyposh.dev/docs/installation/fonts) on your host +> system (not the Dev Container) and changing your font settings in VSCode. + ### Setting a version for `resources` To use advanced options for resource installation, you may do so using the extended diff --git a/src/powershell-extended/dotfiles/.config/oh-my-posh/themes/devcontainers.png b/src/powershell-extended/images/devcontainers.minimal.omp.png similarity index 100% rename from src/powershell-extended/dotfiles/.config/oh-my-posh/themes/devcontainers.png rename to src/powershell-extended/images/devcontainers.minimal.omp.png