summaryrefslogtreecommitdiff
path: root/plugins/colored-man-pages
AgeCommit message (Collapse)Author
2023-08-21fix(colored-man-pages): add env GROFF_NO_SGR=1 (#11831)Ahmed Wael
2022-01-05style: declare globals properlyMarc Cornellà
By default, `typeset` defines variables locally unless in the main scope. This is specially bad when using `omz plugin load`, which happens inside a function, so the declared variables don't continue being defined when the function finishes and the main scope reappears.
2021-12-28chore: fix comment bulk replaceMarc Cornellà
2021-12-28refactor: handle `$0` according to the Zsh plugin standard (#10518)Curtis Rueden
For details and rationale, see: https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html Closes #10518
2020-11-12refactor(colored-man-pages): move nroff wrapper and refactor logic in ↵ratijas
`colored` function (#9437)
2020-03-30colorized-man-pages: add hooks for dman and debman commands (#8776)Felix Stupp
* colorized-man-pages: Added hooks for commands dman and debman `dman` and `debman` are tools from the package `debian-goodies` for Debian systems (see https://packages.debian.org/stable/debian-goodies). They can display man pages from manpages.debian.org or local debian packages respectively. README of the plugin is also updated. * Simplify syntax for future changes * Fix README syntax Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-01-19colored-man-pages: force `env` command (#8551)James Wright
Invoke `env` via `command` to ignore shell functions and aliases.
2019-08-04Add README fileIulian Onofrei
2018-09-29Add option to color any help commandIulian Onofrei
This allows you to use `colored git log --help` for example, to get colored output.
2017-11-07Prepend function keyword in colored-man-pages plugin (#6238)Marcel Siegert
Resolves: #6237
2015-12-15colored-man-pages: Use Portable `less` PathPavan Rikhi
2015-12-15Fix syntax error in colored-man-pagesMarc Cornellà
Commit 09d2a597a5 introduced the bug, which is due to using single brackets conditions at the same time as *. This commit should fix it and use double brackets everywhere else. Fixes #4699
2015-12-15Fix style of colored-man-pages pluginMarc Cornellà
2015-12-15colored-man plugin: Quoted PATH variablecknoblauch
Some environments (in my case, cygwin) have PATH variables with directories with spaces in them, breaking colored-man. Adding quotes around the PATH environment variable makes the plugin run OK.
2015-10-09Renaming colored-man to colored-man-pages because it needs to be.Robby Russell