mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-07 06:08:39 +02:00
docs: fix README formatting inconsistencies
This commit is contained in:
parent
c954bbb168
commit
316a579714
1 changed files with 7 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ To use a different theme, simply change the value to match the name of your desi
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
ZSH_THEME="agnoster" # (this is one of the fancy ones)
|
ZSH_THEME="agnoster" # (this is one of the fancy ones)
|
||||||
|
|
||||||
# see https://github.com/ohmyzsh/ohmyzsh/wiki/Themes#agnoster
|
# see https://github.com/ohmyzsh/ohmyzsh/wiki/Themes#agnoster
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -372,16 +373,19 @@ the settings below in your `~/.zshrc` file, **before Oh My Zsh is loaded**. Note
|
||||||
ways to skip aliases, depending on your needs.
|
ways to skip aliases, depending on your needs.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
||||||
# Skip all aliases, in lib files and enabled plugins
|
# Skip all aliases, in lib files and enabled plugins
|
||||||
zstyle ':omz:*' aliases no
|
zstyle ':omz:*' aliases no
|
||||||
|
|
||||||
# Skip all aliases in lib files
|
# Skip all aliases in lib files
|
||||||
zstyle ':omz:lib:*' aliases no
|
zstyle ':omz:lib:*' aliases no
|
||||||
|
|
||||||
# Skip only aliases defined in the directories.zsh lib file
|
# Skip only aliases defined in the directories.zsh lib file
|
||||||
zstyle ':omz:lib:directories' aliases no
|
zstyle ':omz:lib:directories' aliases no
|
||||||
|
|
||||||
# Skip all plugin aliases
|
# Skip all plugin aliases
|
||||||
zstyle ':omz:plugins:*' aliases no
|
zstyle ':omz:plugins:*' aliases no
|
||||||
|
|
||||||
# Skip only the aliases from the git plugin
|
# Skip only the aliases from the git plugin
|
||||||
zstyle ':omz:plugins:git' aliases no
|
zstyle ':omz:plugins:git' aliases no
|
||||||
```
|
```
|
||||||
|
|
@ -389,6 +393,7 @@ zstyle ':omz:plugins:git' aliases no
|
||||||
You can combine these in other ways taking into account that more specific scopes take precedence:
|
You can combine these in other ways taking into account that more specific scopes take precedence:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
||||||
# Skip all plugin aliases, except for the git plugin
|
# Skip all plugin aliases, except for the git plugin
|
||||||
zstyle ':omz:plugins:*' aliases no
|
zstyle ':omz:plugins:*' aliases no
|
||||||
zstyle ':omz:plugins:git' aliases yes
|
zstyle ':omz:plugins:git' aliases yes
|
||||||
|
|
@ -460,8 +465,10 @@ adding a line to your `~/.zshrc` file, **before Oh My Zsh is loaded**:
|
||||||
NOTE: you can control how often Oh My Zsh checks for updates with the following setting:
|
NOTE: you can control how often Oh My Zsh checks for updates with the following setting:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
||||||
# This will check for updates every 7 days
|
# This will check for updates every 7 days
|
||||||
zstyle ':omz:update' frequency 7
|
zstyle ':omz:update' frequency 7
|
||||||
|
|
||||||
# This will check for updates every time you open the terminal (not recommended)
|
# This will check for updates every time you open the terminal (not recommended)
|
||||||
zstyle ':omz:update' frequency 0
|
zstyle ':omz:update' frequency 0
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue