diff options
author | 2024-03-25 16:43:09 +0530 | |
---|---|---|
committer | 2024-03-25 16:43:09 +0530 | |
commit | a62114c91f2070c8c8453d117f3d81dc113e41ff (patch) | |
tree | f266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/plugins/colored-man-pages/README.md | |
parent | af120ab348f2e1a5a39dec035ed9dcf84189a64e (diff) | |
download | dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2 dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip |
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/colored-man-pages/README.md')
-rw-r--r-- | zsh/oh-my-zsh/plugins/colored-man-pages/README.md | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/zsh/oh-my-zsh/plugins/colored-man-pages/README.md b/zsh/oh-my-zsh/plugins/colored-man-pages/README.md deleted file mode 100644 index 4cbf64d..0000000 --- a/zsh/oh-my-zsh/plugins/colored-man-pages/README.md +++ /dev/null @@ -1,32 +0,0 @@ -# Colored man pages plugin - -This plugin adds colors to man pages. - -To use it, add `colored-man-pages` to the plugins array in your zshrc file: - -```zsh -plugins=(... colored-man-pages) -``` - -It will also automatically colorize man pages displayed by `dman` or `debman`, -from [`debian-goodies`](https://packages.debian.org/stable/debian-goodies). - -You can also try to color other pages by prefixing the respective command with `colored`: - -```zsh -colored git help clone -``` - -## Customization - -The plugin declares global associative array `less_termcap`, which maps termcap capabilities to escape -sequences for the `less` pager. This mapping can be further customized by the user after the plugin is -loaded. Check out sources for more. - -For example: `less_termcap[md]` maps to `LESS_TERMCAP_md` which is the escape sequence that tells `less` -how to print something in bold. It's currently shown in bold red, but if you want to change it, you -can redefine `less_termcap[md]` in your zshrc file, after OMZ is sourced: - -```zsh -less_termcap[md]="${fg_bold[blue]}" # this tells less to print bold text in bold blue -``` |