colorzied man pages
This commit is contained in:
parent
f18a791c78
commit
ce6cb7eeb7
2 changed files with 19 additions and 0 deletions
10
bashrc.txt
10
bashrc.txt
|
|
@ -16,6 +16,16 @@ set -o vi
|
|||
# but keep ctrl l as the clear screen command bind -m vi-command 'Control-l: clear-screen'
|
||||
bind -m vi-insert 'Control-l: clear-screen'
|
||||
|
||||
# Colorizes man pages
|
||||
export LESS_TERMCAP_mb=$'\e[1;32m'
|
||||
export LESS_TERMCAP_md=$'\e[1;32m'
|
||||
export LESS_TERMCAP_me=$'\e[0m'
|
||||
export LESS_TERMCAP_se=$'\e[0m'
|
||||
export LESS_TERMCAP_so=$'\e[01;33m'
|
||||
export LESS_TERMCAP_ue=$'\e[0m'
|
||||
export LESS_TERMCAP_us=$'\e[1;4;31m'
|
||||
|
||||
|
||||
# clears the history completely upon loading bash
|
||||
cat /dev/null > ~/.bash_history && history -c && hash -r
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,15 @@ export BROWSER=links
|
|||
export TUIR_BROWSER=librewolf
|
||||
export EDITOR=nvim
|
||||
|
||||
# Colorizes man pages
|
||||
export LESS_TERMCAP_mb=$'\e[1;32m'
|
||||
export LESS_TERMCAP_md=$'\e[1;32m'
|
||||
export LESS_TERMCAP_me=$'\e[0m'
|
||||
export LESS_TERMCAP_se=$'\e[0m'
|
||||
export LESS_TERMCAP_so=$'\e[01;33m'
|
||||
export LESS_TERMCAP_ue=$'\e[0m'
|
||||
export LESS_TERMCAP_us=$'\e[1;4;31m'
|
||||
|
||||
# Formats history command with dates/times
|
||||
export HISTTIMEFORMAT="%d/%m/%y %T "
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue