-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc.local
79 lines (59 loc) · 1.93 KB
/
.bashrc.local
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
export BASH_SILENCE_DEPRECATION_WARNING=1
export SOURCE_DIR="$HOME/code"
export PATH="./bin:$PATH"
export PATH="$PATH:`yarn global bin`"
export PATH="$PATH:/usr/local/opt/python/libexec/bin"
export PATH="$PATH:/Users/colin/Library/Python/3.6/bin"
export PATH="$PATH:/Users/colin/code/development_tools/pr_pal"
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
export PATH=".git/safe/../../bin:$PATH"
export PATH=".git/safe/../../exe:$PATH"
export PATH="/usr/local/bin:$PATH"
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
alias be="bundle exec "
alias pr-pal="BUNDLE_GEMFILE='/Users/colin/code/development_tools/pr_pal/Gemfile' /Users/colin/code/development_tools/pr_pal/pr-pal"
eval "$(rbenv init -)"
# if test -f ~/.gnupg/.gpg-agent-info -a -n "$(pgrep gpg-agent)"; then
# source ~/.gnupg/.gpg-agent-info
# export GPG_AGENT_INFO
# GPG_TTY=$(tty)
# export GPG_TTY
# else
# eval $(gpg-agent --daemon --write-env-file ~/.gnupg/.gpg-agent-info)
# fi
# function title {
# echo -ne "\033]0;"${PWD##*/}"\007"
# }
#setup terminal tab title
function title {
if [ "$1" ]
then
unset PROMPT_COMMAND
echo -ne "\033]0;${*}\007"
else
export PROMPT_COMMAND='echo -ne "\033]0;${PWD##*/}\007"'
fi
}
title
alias mux="tmux new -s ${PWD##*/}"
alias pw="pwgen -n -s 28 1 | pbcopy"
alias config='/usr/bin/git --git-dir=/Users/colin/.cfg/ --work-tree=/Users/colin'
eval "$(/Users/colin/code/dotmatrix/hr/bin/hr init -)"
DOCKER_BIN=`which docker`
docker () {
if [ "$DOCKER_HOST" == "" ]; then
eval "$(docker-machine env </dev/zero)"
fi
$DOCKER_BIN $@
}
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
__git_complete gco _git_checkout
alias python="python3"
alias pip="pip3"
# change this to source from ~/.netrc
# export GH_USER="cbartlett"
# export GH_PASS="changeme"