1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-18 21:51:38 +03:00
digga/profiles/develop/zsh/functions/man
Timothy DeHerrera 6139834a4a
develop#zsh: factor out functions into files
Upgrade the `rg` function to only pipe to `PAGER` when output is a
terminal.
2019-12-15 20:54:11 -07:00

9 lines
217 B
Bash

# colorful man pages
LESS_TERMCAP_md=$'\e[01;31m' \
LESS_TERMCAP_me=$'\e[0m' \
LESS_TERMCAP_se=$'\e[0m' \
LESS_TERMCAP_so=$'\e[01;44;33m' \
LESS_TERMCAP_ue=$'\e[0m' \
LESS_TERMCAP_us=$'\e[01;32m' \
@man@/bin/man "$@"