diff options
Diffstat (limited to 'dot_local/share/zsh/coloured-man/coloured-man.plugin.zsh')
-rw-r--r-- | dot_local/share/zsh/coloured-man/coloured-man.plugin.zsh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dot_local/share/zsh/coloured-man/coloured-man.plugin.zsh b/dot_local/share/zsh/coloured-man/coloured-man.plugin.zsh new file mode 100644 index 0000000..ddaa38b --- /dev/null +++ b/dot_local/share/zsh/coloured-man/coloured-man.plugin.zsh @@ -0,0 +1,13 @@ +function man() { + # mb/md - bold+blinking + # so - standout + # us - underliined + LESS_TERMCAP_mb="${fg_bold[red]}" \ + LESS_TERMCAP_md="${fg_bold[red]}" \ + LESS_TERMCAP_me="${reset_color}" \ + LESS_TERMCAP_so="${fg_bold[yellow]}${bg[blue]}" \ + LESS_TERMCAP_se="${reset_color}" \ + LESS_TERMCAP_us="${fg_bold[green]}" \ + LESS_TERMCAP_ue="${reset_color}" \ + command env man "$@" +} \ No newline at end of file |