-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.bashrc
More file actions
145 lines (125 loc) · 6.16 KB
/
Copy path.bashrc
File metadata and controls
145 lines (125 loc) · 6.16 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
#-----------------------------------------------------------------------------
# Tim Siwula -- tcsiwula@gmail.edu
# file: ~/.bash_profile
# updated: 03/16/2017
#-----------------------------------------------------------------------------
# file path: ~/.bash_profile
# edit: atom ~/.bash_profile
# update: source ~/.bash_profile
#-----------------------------------------------------------------------------
# shortcuts: addcommand => atom ~/.bash_profile
# shortcuts: updatecommand => source ~/.bash_profile
#-----------------------------------------------------------------------------
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# ALIAS COMMANDS
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#-----------------------------------------------------------------------------
alias NEW1=""
alias NEW2=""
alias NEW3=""
alias NEW4=""
alias NEW5=""
#-----------------------------------------------------------------------------
alias addcommand="atom ~/.bash_profile"
alias addc="addcommand"
alias updatecommand="source ~/.bash_profile"
alias uc="updatecommand"
alias o="open ."
alias c="clear"
alias C="clear"
alias h="history"
alias addssh="atom ~/.ssh/config"
alias p3="/Users/timsiwula/IdeaProjects"
alias dk="cd /Users/timsiwula/Desktop/"
alias itimmy="cd /Users/timsiwula/WebstormProjects/itimmy"
alias hcf="cd /Users/timsiwula/WebstormProjects/buzz-tims_frontend_branch/"
alias deploy="bash deploy_script.sh"
alias chatbot="cd /Users/timsiwula/WebstormProjects/ten-x-chatbot && pwd"
alias react="cd /Users/timsiwula/WebstormProjects/reactjs && pwd"
alias scrn="screen -dr"
alias show="screen -list"
alias chrome="open -a \"Google Chrome\""
alias pull="git pull origin master"
alias push="git push origin master"
alias p1="cd /Users/timsiwula/Dropbox/cs451_fall_2016/project/"
alias compilers="cd /Users/timsiwula/Dropbox/code/svn/tcsiwula/cs414 && pwd"
alias commit="git commit -S -m"
alias geth="geth --rpcapi eth,web3,personal --rpc"
alias ai="cd /Users/timsiwula/WebstormProjects/AI_JavaBridge && pwd"
alias dl="cd ~/Downloads && pwd"
alias run="bash compile_script.sh | /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --kiosk http://localhost:8888/"
alias hcdb="pgcli -h happychaindb.ciqykqusf0nv.us-west-1.rds.amazonaws.com -p 5432 -U devapp0 happychaindb"
#-----------------------------------------------------------------------------
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# GREETING MESSAGE
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#-----------------------------------------------------------------------------
echo "+"
echo "++"
echo "+++"
echo " ~~~~~~~ Hello Tim ~~~~~~~ "
echo "+++"
echo "++"
echo "+"
#-----------------------------------------------------------------------------
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# ENVIROMENT VARIABLE CONFIGURATIONS
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#-----------------------------------------------------------------------------
# Bash profile sync
#-----------------------------------------------------------------------------
source ~/.profile
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# terminal command prompt icon
#-----------------------------------------------------------------------------
# export PS1="🤣 $"
export PS1="=>"
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# postgresql database server config
#-----------------------------------------------------------------------------
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# javacc script link
#-----------------------------------------------------------------------------
export PATH=$PATH:/Users/timsiwula/tools/javacc-5.0/bin
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# React Native -- Android Setup
# -- Define the ANDROID_HOME environment variable
#-----------------------------------------------------------------------------
export ANDROID_HOME=/usr/local/opt/android-sdk
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Init jenv
#-----------------------------------------------------------------------------
if which jenv > /dev/null; then eval "$(jenv init -)"; fi
export JAVA_HOME=$(/usr/libexec/java_home)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# MacPorts PATH variable
#-----------------------------------------------------------------------------
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
#-----------------------------------------------------------------------------
#source ~/.profile
#export PATH=/usr/local/bin:$PATH
#_________ git via brew detection ________________________________________________
# this allows any other software you install in /usr/local/git/bin will be found first.
# see:
# http://stackoverflow.com/questions/8957862/how-to-upgrade-git-to-latest-version-on-mac-os-x
#export PATH=/usr/local/git/bin:/usr/local/sbin:$PATH
#_________ CUDA ________________________________________________
# add cuda tools to command path
#export PATH=/usr/local/cuda/bin:${PATH}
#export MANPATH=/usr/local/cuda/man:${MANPATH}
# add cuda libraries to library path
#if [[ "${LD_LIBRARY_PATH}" != "" ]]
#then
# export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH}
#else
# export LD_LIBRARY_PATH=/usr/local/cuda/lib64
#fi
#export NVM_DIR="/Users/timsiwula/.nvm"
#[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm