From 991f146f88169c2c711d2ae61da28f22dc25ed26 Mon Sep 17 00:00:00 2001 From: "L. Yeung" Date: Tue, 17 Sep 2024 03:16:39 +0800 Subject: [PATCH] docs: add quotes to Tcsh `eval` commands --- website/docs/installation/customize.mdx | 4 ++-- website/docs/installation/prompt.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/installation/customize.mdx b/website/docs/installation/customize.mdx index 6dae2ef3..430f10af 100644 --- a/website/docs/installation/customize.mdx +++ b/website/docs/installation/customize.mdx @@ -188,10 +188,10 @@ to only require remote scripts to be signed using `Set-ExecutionPolicy RemoteSig Adjust the Oh My Posh init line in `~/.tcshrc` by adding the `--config` flag with the location of your configuration. ```bash -eval `oh-my-posh init tcsh --config ~/jandedobbeleer.omp.json` +eval "`oh-my-posh init tcsh --config ~/jandedobbeleer.omp.json`" ``` -Once added, reload your profile for the changes to take effect. +Note that the surrounding quotes are required. Once added, reload your profile for the changes to take effect. ```bash exec tcsh diff --git a/website/docs/installation/prompt.mdx b/website/docs/installation/prompt.mdx index 4c2e1e6e..869c3c30 100644 --- a/website/docs/installation/prompt.mdx +++ b/website/docs/installation/prompt.mdx @@ -183,10 +183,10 @@ Once added, reload your profile for the changes to take effect. Add the following at the end of `~/.tcshrc`: ```bash -eval `oh-my-posh init tcsh` +eval "`oh-my-posh init tcsh`" ``` -Once added, reload your profile for the changes to take effect. +Note that the surrounding quotes are required. Once added, reload your profile for the changes to take effect. ```bash exec tcsh