-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
58 lines (45 loc) · 1.58 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
53
54
55
56
57
58
#!/bin/bash
complete -C ~/dotfiles/rake_completion -o default rake
# Add the following to your ~/.bashrc or ~/.zshrc
hitch() {
command hitch "$@"
if [[ -s "$HOME/.hitch_export_authors" ]] ; then source "$HOME/.hitch_export_authors" ; fi
}
alias unhitch='hitch -u'
# Uncomment to persist pair info between terminal instances
# hitch
# z
. `brew --prefix`/etc/profile.d/z.sh
#teh javas
export JAVA_OPTS="-Dfile.encoding=utf-8"
export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8 -Xmx2048m"
export MAVEN_OPTS="-Dfile.encoding=utf-8 -Xmx1024m"
#export JAVA_HOME="$(/usr/libexec/java_home)"
#prefer local brews
export PATH=/usr/local/bin:$PATH
#add brew python to path
#export PATH=/usr/local/Cellar/python/2.7.3/bin:$PATH
#add python executables
#export PATH=/usr/local/share/python:$PATH
#export WORKON_HOME=$HOME/.virtualenvs
#source /usr/local/share/python/virtualenvwrapper.sh
#modern openssl
export PATH=`brew --prefix openssl`/bin:$PATH
# node
export NODE_PATH=/usr/local/lib/node#:/usr/local/lib/node_modules
export PATH=`brew --prefix node`/bin:$PATH
#rbenv
#export PATH="$HOME/.rbenv/bin:$PATH"
#eval "$(rbenv init -)"
#chruby
source /usr/local/share/chruby/chruby.sh
source /usr/local/share/chruby/auto.sh
#
chruby ruby 2.6.5
# project local bins
# https://twitter.com/tpope/statuses/165631968996900865
export PATH=".git/safe/../../bin:.git/safe/../../node_modules/.bin/:$PATH"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
eval "$(direnv hook bash)"