-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bash_profile
42 lines (36 loc) · 1.21 KB
/
.bash_profile
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
# git-prompt vars
GIT_PS1_SHOWDIRTYSTATE=1
# Colors
BGREEN='\[\033[1;32m\]'
GREEN='\[\033[0;32m\]'
BRED='\[\033[1;31m\]'
RED='\[\033[0;31m\]'
BBLUE='\[\033[1;34m\]'
BLUE='\[\033[0;34m\]'
YELLOW='\[\033[1;33m\]'
MAGENTA='\[\033[0;35m\]'
LBLUE='\[\033[0;36m\]'
GRAY='\[\033[0;37m\]'
TEST='\[\033[9;34m\]'
NORMAL='\[\033[00m\]'
# Symbols
HEART="\xe2\x99\xa1"
BURGER="\xf0\x9F\x8d\x94"
CHERRY="\xF0\x9F\x8D\x92"
POODLE="\xF0\x9F\x90\xA9"
POOP="\xf0\x9f\x92\xa9"
# Formats
DATE=`date +"%m/%d/%Y |%l:%M%p"`
# My Formats
MY_PROMPT=$POOP
MY_GIT_BRANCH=" $(echo -e ${POODLE}) $(echo -e ${POODLE}) $(echo -e ${POODLE}) ${GRAY}\$(__git_ps1)"
MY_TIME=" $(echo -e ${CHERRY}) $(echo -e ${CHERRY}) $(echo -e ${CHERRY}) ${GRAY} ${DATE}"
MY_PATH=" $(echo -e ${BURGER}) $(echo -e ${BURGER}) $(echo -e ${BURGER}) ${LBLUE} \w"
MY_SHELL=" \$(echo -e \"${MY_PROMPT}\") \$(echo -e \"${MY_PROMPT}\") \$(echo -e \"${MY_PROMPT}\") ${NORMAL} "
# My PS1
PS1="\n${MY_GIT_BRANCH}\n${MY_TIME}\n${MY_PATH}\n${MY_SHELL}"
### Aliases
alias obp="/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl -n ~/.bash_profile"
alias ost="/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl -n"
alias sbp="source ~/.bash_profile"
alias gc="git checkout"