-
Notifications
You must be signed in to change notification settings - Fork 1
/
bash_profile
54 lines (38 loc) · 1.35 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
43
44
45
46
47
48
49
50
51
52
53
54
export NVM_DIR=~/.nvm
. "$(brew --prefix nvm)/nvm.sh"
nvm use --lts
PATH=$PATH:/usr/local/go/bin
PATH=$PATH:~/Downloads/apache-maven-3.3.3/bin
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home
export PATH="$HOME/.cargo/bin:$PATH"
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export ANDROID_HOME=/usr/local/opt/android-sdk
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
function_exists() {
declare -f -F $1 > /dev/null
return $?
}
mrkd () {
pandoc $1 | lynx -stdin
}
if [ -f ~/dotfiles/.git-completion.bash ]; then
. ~/dotfiles/.git-completion.bash
fi
for al in `__git_aliases`; do
alias g$al="git $al"
complete_func=_git_$(__git_aliased_command $al)
function_exists $complete_fnc && __git_complete g$al $complete_func
done
set editing-mode vi
set keymap vi
function iterm2_print_user_vars() {
iterm2_set_user_var gitBranch $((git branch 2> /dev/null) | grep \* | cut -c3-)
}
. ~/dotfiles/scripts/zerocard.sh
exec `defaults write NSGlobalDomain KeyRepeat -int 1`
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"