-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.bashrc
More file actions
34 lines (26 loc) · 690 Bytes
/
.bashrc
File metadata and controls
34 lines (26 loc) · 690 Bytes
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
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# dircolors
if [ -e ~/.dircolors ]; then
eval "$(dircolors -b ~/.dircolors)"
fi
# Lock and Load a custom theme file
# location /.bash_it/themes/
export BASH_IT_THEME='zork'
# Set this to false to turn off version control status checking within the prompt for all themes
export SCM_CHECK=true
# Tab complete sudo commands
complete -cf sudo
# Load Bash It
export BASH_IT="$HOME/.bash_it"
if [ -e "${BASH_IT}"/bash_it.sh ]; then
source "${BASH_IT}"/bash_it.sh
fi
# Fix vim colors inside tmux
if [ -n "${TMUX}" ]; then
alias vim="TERM=screen-256color vim"
fi
# Set default editor to vim
export EDITOR=vim