-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdot_bash_profile
64 lines (45 loc) · 1.74 KB
/
dot_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
55
56
57
58
59
60
61
62
63
# if there is a bashrc - source it here, we may end up over-riding some things here.
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
# add personal bin/*, sbin/*
export PATH=${PATH}:${HOME}/bin:${HOME}/sbin
# AMTC
AMT_PASSWORD=NucNuc123!
# macro for Visual Studio Code
# code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
# The next line updates PATH for the Google Cloud SDK.
source '/Users/sostheim/work/bin/bash/google-cloud-sdk/path.bash.inc'
# The next line enables shell command completion for gcloud.
source '/Users/sostheim/work/bin/bash/google-cloud-sdk/completion.bash.inc'
export JAVA_HOME=$(/usr/libexec/java_home)
# Setting PATH for Python 3.6
export PATH=${PATH}:/Library/Frameworks/Python.framework/Versions/3.6/bin
# AWS/EC2 definitions
export PATH=$PATH:~/Library/Python/3.6/bin
export AWS_ID=ricks
export AWS_ACCESS_KEY=`cat ~/.aws/env-aws-access-key`
export AWS_SECRET_KEY=`cat ~/.aws/env-aws-secret-key`
complete -C '/usr/local/aws/bin/aws_completer' aws
# GCR
export ACCESS_TOKEN=`cat ~/.ssh/gcr-access-token`
# added to gopath
export GOPATH=${HOME}/work
# for godep, go-tools, etc...
export PATH=${PATH}:${GOPATH//://bin:}/bin
# kubernetes
export KPATH=${GOPATH}/src/k8s.io/kubernetes
# kraken
# default kraken cluster name (aliases override)
export KRAK_REPO_HOME=sostheim
export KRAK_PATH=${GOPATH}/src/github.com/sostheim/kraken
export PATH=${PATH}:${KRAK_PATH}/bin
export KOPS_NAME=kops.cpe.multi.az.kubeme.io
export KOPS_STATE_STORE=s3://kops.cpe.multi.az.kubeme.io
if [ -f ~/.bash_aliases ]; then
source ~/.bash_aliases
fi
export GITHUB_TOKEN=`cat ~/.ssh/github-tool-script-token`
function traceroute-mapper {
open "http://stefansundin.github.io/traceroute-mapper/?trace=$(traceroute -q1 -m30 $*)"
}