-
Notifications
You must be signed in to change notification settings - Fork 8
/
bash_profile
25 lines (20 loc) · 813 Bytes
/
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
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
export PATH="$PATH:/usr/local/bin/node:/usr/local/bin/npm:/usr/local/share/npm/bin"
export PATH="$PATH:/Users/udonmai/bin"
#export http_proxy=127.0.0.1:8087
#export http_proxy=proxy.kuins.net:8080
# pip bash completion start
_pip_completion()
{
COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]}" \
COMP_CWORD=$COMP_CWORD \
PIP_AUTO_COMPLETE=1 $1 ) )
}
complete -o default -F _pip_completion pip
# pip bash completion end
# fix some clang problem when gem install rails
export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future"