From 45aecbcc0e205a2e3eb98ee095a76b57e9509182 Mon Sep 17 00:00:00 2001 From: "L. Yeung" Date: Tue, 23 Aug 2022 22:47:55 +0800 Subject: [PATCH] docs: tweak terminology to be consistent across pages --- website/docs/faq.mdx | 4 ++-- website/docs/installation/customize.mdx | 2 +- website/docs/installation/prompt.mdx | 2 +- website/docs/segments/command.mdx | 6 +++--- website/docs/segments/posh-git.mdx | 2 +- website/docs/segments/shell.mdx | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/website/docs/faq.mdx b/website/docs/faq.mdx index eca237fc..957680a7 100644 --- a/website/docs/faq.mdx +++ b/website/docs/faq.mdx @@ -88,9 +88,9 @@ You need to migrate using the following [guide][migrating]. This bug is caused by Windows Terminal and/or VIM. There are two issues for this, one at [Windows Terminal][wt-vim] and one at [VIM][vim-wt]. -### ZSH: No command history (ctrl+r does not work) +### Zsh: No command history (Ctrl+R does not work) -This issue occurs when you're using plain ZSH in combination with Oh My Posh. +This issue occurs when you're using plain zsh in combination with Oh My Posh. You fix this by can adding the right configuration to `~/.zshrc`. ```bash diff --git a/website/docs/installation/customize.mdx b/website/docs/installation/customize.mdx index 56df45b6..d6400461 100644 --- a/website/docs/installation/customize.mdx +++ b/website/docs/installation/customize.mdx @@ -140,7 +140,7 @@ Once altered, reload your config for the changes to take effect. :::caution -Oh My Posh requires Nushell >= 0.60.0 +Oh My Posh requires Nushell v0.60.0 or higher. ::: Run the following command: diff --git a/website/docs/installation/prompt.mdx b/website/docs/installation/prompt.mdx index eced5813..f4aa8706 100644 --- a/website/docs/installation/prompt.mdx +++ b/website/docs/installation/prompt.mdx @@ -157,7 +157,7 @@ exec fish :::caution -Oh My Posh requires Nushell >= 0.60.0 +Oh My Posh requires Nushell v0.60.0 or higher. ::: Run the following command: diff --git a/website/docs/segments/command.mdx b/website/docs/segments/command.mdx index 698c9933..36b50afc 100644 --- a/website/docs/segments/command.mdx +++ b/website/docs/segments/command.mdx @@ -6,10 +6,10 @@ sidebar_label: Command ## What -:::caution Powershell -While powerful, it tends to take a lot of time executing the command on **Powershell**. +:::caution powershell +While powerful, it tends to take a lot of time executing the command on **PowerShell**. Even with `–noprofile` it's noticeably slower compared to `sh`. It's advised to look at using -[environment variables][env] when using Powershell. +[environment variables][env] when using PowerShell. ::: Command allows you run an arbitrary shell command. Be aware it spawn a new process to fetch the result, meaning diff --git a/website/docs/segments/posh-git.mdx b/website/docs/segments/posh-git.mdx index d1ad422a..c5148c14 100644 --- a/website/docs/segments/posh-git.mdx +++ b/website/docs/segments/posh-git.mdx @@ -9,7 +9,7 @@ sidebar_label: Git (posh-git) Display the [posh-git][posh-git] prompt. :::caution -This segment only works within Powershell and requires the posh-git module to be installed and imported +This segment only works within PowerShell and requires the posh-git module to be installed and imported as well as `$env:POSH_GIT_ENABLED = $true` added to your `$PROFILE`. ::: diff --git a/website/docs/segments/shell.mdx b/website/docs/segments/shell.mdx index 48110295..2d4cf6e2 100644 --- a/website/docs/segments/shell.mdx +++ b/website/docs/segments/shell.mdx @@ -6,7 +6,7 @@ sidebar_label: Shell ## What -Show the current shell name (ZSH, powershell, bash, ...). +Show the current shell name (zsh, PowerShell, bash, ...). ## Sample Configuration