1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 08:10:08 +00:00
Commit graph

11 commits

Author SHA1 Message Date
ratijas
9b119866dd
refactor(colored-man-pages): move nroff wrapper and refactor logic in colored function (#9437) 2020-11-12 19:32:17 +01:00
Felix Stupp
621de1e20b
colorized-man-pages: add hooks for dman and debman commands (#8776)
* 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-03-30 20:13:12 +02:00
James Wright
530056d50d colored-man-pages: force env command (#8551)
Invoke `env` via `command` to ignore shell functions and aliases.
2020-01-19 17:47:28 +01:00
Iulian Onofrei
26aad59779 Add README file 2019-08-04 00:33:40 +03:00
Iulian Onofrei
23688fc7ab
Add option to color any help command
This allows you to use `colored git log --help` for example, to get
colored output.
2018-09-29 17:01:41 +03:00
Marcel Siegert
63cfade9a4 Prepend function keyword in colored-man-pages plugin (#6238)
Resolves: #6237
2017-11-07 07:51:38 -08:00
Pavan Rikhi
3ebbb40b31 colored-man-pages: Use Portable less Path 2015-12-15 15:13:19 -05:00
Marc Cornellà
5e310c5308 Fix syntax error in colored-man-pages
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-15 11:56:16 +01:00
Marc Cornellà
09d2a597a5 Fix style of colored-man-pages plugin 2015-12-15 04:11:40 +01:00
cknoblauch
a8157293a7 colored-man plugin: Quoted PATH variable
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-12-15 04:06:23 +01:00
Robby Russell
bb509dda23 Renaming colored-man to colored-man-pages because it needs to be. 2015-10-09 07:07:57 -07:00