-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
41 lines (35 loc) · 954 Bytes
/
.bashrc
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
30
31
32
33
34
35
36
37
38
39
40
41
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
Black_bg='\e[0;40m'
Blue='\e[0;34m'
Brown='\e[0;33m'
Green='\e[0;32m'
Red='\e[0;31m'
White='\e[0;37m'
Reset='\e[0m'
export PS1="\[$White\][\[$Brown\]\u@\H\[$White\]:\[$Blue\]\w\[$White\]] \[$Brown\]\\\$ \[$Reset\]"
export MC_SKIN=${HOME}/.config/mc/solarized.ini
export HISTTIMEFORMAT="[%d/%m/%y %T] "
export HISTCONTROL=ignoredups:erasedups
export HISTSIZE=5000
export VISUAL="vim"
export EDITOR="vim"
alias grep='LC_ALL=C grep --color'
alias ls='ls -F --color=auto'
alias ssh='TERM=xterm ssh'
man() {
env \
LESS_TERMCAP_mb=$(printf $Red) \
LESS_TERMCAP_md=$(printf $Red) \
LESS_TERMCAP_me=$(printf $Reset) \
LESS_TERMCAP_se=$(printf $Reset)\
LESS_TERMCAP_so=$(printf $Black_bg) \
LESS_TERMCAP_ue=$(printf $Reset) \
LESS_TERMCAP_us=$(printf $Blue) \
man "$@"
}
eval `dircolors -b /usr/share/LS_COLORS/LS_COLORS`
xrdb -merge ~/.Xresources