-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
52 lines (44 loc) · 1.5 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
########################################################################################
# Environtment Variables
#
# PATH - Specifies a set of directories where executable programs are located.
# HOME - Specifies the home directory.
# MAKEFILES - Specifies the directory where a makefile is located
# CLICOLOR -
# LSCOLORS -
# HISTCONTROL -
# HISTIGNORE -
# EDITOR -
########################################################################################
PROMPT_COMMAND='__git_ps1 "$GREEN\u:$CYAN[\w]" $BROWN"\\\$ $NORMAL"'
GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWUNTRACKEDFILES=1
GIT_PS1_SHOWSTASHSTATE=1
GIT_PS1_SHOWCOLORHINTS=1
GIT_PS1_SHOWUPSTREAM="auto"
# Command aliases
alias ?='pwd'
alias hm='cd ~'
alias bk='cd ..'
alias rm='rm -i'
alias ls='ls -F'
alias ll='ls -lF'
alias la='ls -alF'
alias gsubmodule='git submodule update --init --recursive'
alias s='say -v Daniel'
alias vim=nvim
alias emx=emacs
export PATH=${PATH}:${HOME}/bin:/usr/local/bin:~/bin:~/bin/git:~/Library/Android/sdk/platform-tools
export MAKEFILES=${HOME}/bin/makefile
export CLICOLOR=1
export LSCOLORS=fxdxcxgxBxHxexbDfDehbh
export HISTCONTROL="erasedups"
export HISTIGNORE="ls:ll:la:lab"
export JENKINS_DIR=${HOME}/bin/jinkens
# Make bash check its window size after a process completes
shopt -s checkwinsize
# This is for git auto complete stuff.
source ~/Documents/github/git/contrib/completion/git-completion.bash
# Git extensions
source ~/Documents/github/git/contrib/completion/git-prompt.sh
export PATH=/opt/local/bin:/opt/local/sbin:$PATH