mirror of
https://github.com/scopatz/nanorc
synced 2024-11-24 11:20:26 +01:00
add less to zsh linux commands highlighter
This commit is contained in:
parent
f1d9ca85cc
commit
180a173d65
|
@ -17,7 +17,7 @@ color brightblue "\<(alias|bindkey|builtin|cd|eval|exec|export|jobs|let|popd|pus
|
||||||
## ZSH-specific
|
## ZSH-specific
|
||||||
color brightblue "\<(add-zsh-hook|autoload|compinit|echotc|emulate|print|prompt(init)?|setopt|zle|zmodload|zstyle)\>"
|
color brightblue "\<(add-zsh-hook|autoload|compinit|echotc|emulate|print|prompt(init)?|setopt|zle|zmodload|zstyle)\>"
|
||||||
## Common linux commands
|
## Common linux commands
|
||||||
color brightmagenta "\<(cat|chmod|chown|cp|echo|env|false|find|grep|install|kill|ln|make|mkdir|mv|pwd|rm|rmdir|sed|tar|true|touch|uname|wc|whoami)\>"
|
color brightmagenta "\<(cat|chmod|chown|cp|echo|env|false|find|grep|install|kill|less|ln|make|mkdir|mv|pwd|rm|rmdir|sed|tar|true|touch|uname|wc|whoami)\>"
|
||||||
|
|
||||||
## Function definition
|
## Function definition
|
||||||
icolor brightgreen "^\s+?(function\s+)?[0-9A-Z_]+\s+?\(\)"
|
icolor brightgreen "^\s+?(function\s+)?[0-9A-Z_]+\s+?\(\)"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user