Browse Source

Change manpages color

master
Riyyi 6 years ago
parent
commit
a7fcbc97b9
  1. 15
      .scripts/alias.sh

15
.scripts/alias.sh

@ -1,13 +1,14 @@
#!/bin/bash
man() {
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' \
command man "$@"
LESS_TERMCAP_mb=$'\e[01;31m' \
LESS_TERMCAP_md=$'\e[01;34m' \
LESS_TERMCAP_me=$'\e[0m' \
LESS_TERMCAP_so=$'\e[00;37m' \
LESS_TERMCAP_se=$'\e[0m' \
LESS_TERMCAP_us=$'\e[04;95m' \
LESS_TERMCAP_ue=$'\e[0m' \
command man "$@"
}
depend() {

Loading…
Cancel
Save