From 43c982798c902315aba2f8865d0407c6ff70a180 Mon Sep 17 00:00:00 2001 From: Alen Date: Sun, 19 Jan 2025 03:26:44 +0400 Subject: Add batch of zsh plugins and kitting out --- dot_local/share/zsh/coloured-man/coloured-man.plugin.zsh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dot_local/share/zsh/coloured-man/coloured-man.plugin.zsh (limited to 'dot_local/share/zsh/coloured-man/coloured-man.plugin.zsh') 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 -- cgit 1.4.1-2-gfad0