-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bash_exports
29 lines (26 loc) · 970 Bytes
/
.bash_exports
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
LESS_TERMCAP_mb=$(tput -T ansi blink) # start bold
LESS_TERMCAP_md=$(tput -T ansi setaf 2 ; tput -T ansi bold) # start bold
LESS_TERMCAP_me=$(tput -T ansi sgr0) # turn off bold, blink and underline
LESS_TERMCAP_so=$(tput -T ansi smso) # start standout (reverse video)
LESS_TERMCAP_se=$(tput -T ansi rmso) # stop standout
LESS_TERMCAP_us=$(tput -T ansi smul) # start underline
LESS_TERMCAP_ue=$(tput -T ansi rmul) # stop underline
# realtime bash_history, purged of duplicates
export HISTTIMEFORMAT='%F %T '
export HISTCONTROL=ignoredups:erasedups
export HISTSIZE=100000
export HISTFILESIZE=$HISTSIZE
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
export CLICOLOR_FORCE=1
export EDITOR="vim"
export LANG="en_US"
export LC_ALL="en_US.UTF-8"
export MANPAGER="less -X"
export LESS_TERMCAP_mb
export LESS_TERMCAP_md
export LESS_TERMCAP_me
export LESS_TERMCAP_se
export LESS_TERMCAP_so
export LESS_TERMCAP_ue
export LESS_TERMCAP_us