-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc
More file actions
45 lines (35 loc) · 1.08 KB
/
bashrc
File metadata and controls
45 lines (35 loc) · 1.08 KB
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
42
43
44
#-----This is the original OSX content-----
export CLICOLOR=1
export LSCOLORS=dxfxcxdxbxegedabagacad
#------------------------------------------
export TERM=xterm-256color
export TERMCAP=
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/bash lesspipe)"
export LESSOPEN=
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color) color_prompt=yes;;
esac
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
color_prompt=yes
else
color_prompt=
fi
fi
unset color_prompt force_color_prompt
#Tool usage
#export EDITOR=vim
#export LANGUAGE=en
#export LANG=C
#export LC_MESSAGES=C
#export BOOST_BUILD_PATH=~/tools/boost-build/
info_color='\[\e[38;5;41m\]'
git_color='\[\e[38;5;4m\]'
reset_color='\[\e[0m\]'
PS1=${info_color}'\u@[\h:\w] '${git_color}'$(__git_ps1 " (%s)")'${reset_color}'\n[\$]'
source ~/.git-completion.sh
source ~/.toolsrc