mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
add pretty less colors
This commit is contained in:
parent
138bda9787
commit
1bebb542c3
1 changed files with 13 additions and 0 deletions
13
.bashrc
13
.bashrc
|
@ -125,10 +125,23 @@ alias pythong='python3.10'
|
|||
alias python='python3.10'
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ General ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
|
||||
|
||||
# colors for less when displayingman 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;35m'
|
||||
|
||||
|
||||
# colordiff - diff, but with colors for accessibility
|
||||
alias diff='colordiff -uw'
|
||||
|
||||
# always use vim instead of vi, TODO: check if vim installed?
|
||||
alias vi='vim'
|
||||
|
||||
# we love a good tracer t
|
||||
alias tracert='traceroute'
|
||||
# whoami, whereami, whoareyou?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue