docs: add quotes to Tcsh eval commands

This commit is contained in:
L. Yeung 2024-09-17 03:16:39 +08:00 committed by Jan De Dobbeleer
parent b339396fa2
commit 991f146f88
2 changed files with 4 additions and 4 deletions

View file

@ -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. Adjust the Oh My Posh init line in `~/.tcshrc` by adding the `--config` flag with the location of your configuration.
```bash ```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 ```bash
exec tcsh exec tcsh

View file

@ -183,10 +183,10 @@ Once added, reload your profile for the changes to take effect.
Add the following at the end of `~/.tcshrc`: Add the following at the end of `~/.tcshrc`:
```bash ```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 ```bash
exec tcsh exec tcsh