-
Notifications
You must be signed in to change notification settings - Fork 5
/
.bashrc
35 lines (30 loc) · 950 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
#!bash
if [ -f ~/.bashrc ] && [ ! -L ~/.bashrc ]; then
. ~/.bashrc
fi
. ~/.config/tarmolov/.bash/git-completion.bash
. ~/.config/tarmolov/.bash/git-prompt.bash
. ~/.config/tarmolov/.bash/git-flow-completion.bash
. ~/.config/tarmolov/.bash/aliases.common.bash
. ~/.config/tarmolov/.bash/aliases.arc.bash
. ~/.config/tarmolov/.bash/aliases.git.bash
. ~/.config/tarmolov/.bash/z.sh
. ~/.config/tarmolov/.bash/arc-prompt.bash
export TERM=linux
export LESSCHARSET=utf-8
export EDITOR=vim
export GIT_PS1_SHOWDIRTYSTATE=1
export PS1='\[\e[0;32m\]\u@\h\[\e[m\] \[\e[1;34m\]\w\[\e[m\]\[\e[1;32m\]$(__arc_ps1)$(__git_ps1 " (%s)") \$\[\e[m\] \[\e[1;37m\]'
export ACK_PAGER='less -FRX'
# locale
OS=$(uname)
if [ $OS == "Linux" ]; then
export LC_ALL="en_US.utf8"
else
export LC_ALL="en_US.UTF-8"
fi
# Use local bin before
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
if [ -d ~/bin ] ; then
PATH=~/bin:/usr/local/share/npm/bin:"${PATH}"
fi