mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-29 12:01:07 -08:00
docs: fix if expression to identify terminal
This commit is contained in:
parent
0dde300af8
commit
4401a4502d
|
@ -98,7 +98,7 @@ eval "$(oh-my-posh init zsh)"
|
|||
As the standard terminal has issues displaying the ANSI characters correctly, you might want to skip loading just for that terminal and instead of the line above, place this in your `~/.zshrc`:
|
||||
|
||||
```bash
|
||||
if [ $TERM_PROGRAM != "Apple_Terminal" ]; then
|
||||
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
|
||||
eval "$(oh-my-posh init zsh)"
|
||||
fi
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue