Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

23 рядки
792 B

8 роки тому
  1. zsh-syntax-highlighting / highlighters / root
  2. ---------------------------------------------
  3. This is the `root` highlighter, that highlights the whole line if the current
  4. user is root.
  5. ### How to tweak it
  6. This highlighter defines the following styles:
  7. * `root` - the style for the whole line if the current user is root.
  8. To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`,
  9. for example in `~/.zshrc`:
  10. ZSH_HIGHLIGHT_STYLES[root]='bg=red'
  11. The syntax for values is the same as the syntax of "types of highlighting" of
  12. the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)`
  13. manual page][zshzle-Character-Highlighting].
  14. [zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting