-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
62 lines (44 loc) · 1.92 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
55
56
57
58
59
60
61
62
# Setup path
export PATH=$PATH:$HOME/bin
# Setup ls aliases
alias ls="ls -G"
alias ll="ls -laG"
# Setup go coding alias
alias go="cd /Users/philippebeaudoin/src/waverly/news-crawl"
alias gogo="cd /Users/philippebeaudoin/src/waverly/news-crawl && source set_api_keys.sh"
alias prod="kubectl config set-context arn:aws:eks:us-east-2:504923666478:cluster/prod"
alias prod-test="kubectl config set-context arn:aws:eks:us-east-2:504923666478:cluster/prod-test"
# Support bash completion
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
# Enable git-prompt
[[ $- == *i* ]] && . $HOME/bin/git-prompt/git-prompt.sh
# Enable git completion
source $HOME/bin/git-completion/git-completion.bash
# GitHub aliases
alias ppr="$HOME/bin/pushpr.sh" # Push a PR
# Enable kubectl completion
source <(kubectl completion bash)
# Enable aws CLI completion
complete -C '/usr/local/bin/aws_completer' aws
# Enable 1Password CLI completion
source <(op completion bash)
#export PATH="/usr/local/Cellar/node/14.11.0/bin:$PATH"
export KUBE_EDITOR=nano
alias awsswitch="source $HOME/bin/awsswitch.sh"
# The next line updates PATH for the Google Cloud SDK.
if [ -f '$HOME/bin/google-cloud-sdk/path.bash.inc' ]; then . '$HOME/bin/google-cloud-sdk/path.bash.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '$HOME/bin/google-cloud-sdk/completion.bash.inc' ]; then . '$HOME/bin/google-cloud-sdk/completion.bash.inc'; fi
# Added by Amplify CLI binary installer
export PATH="$HOME/.amplify/bin:$PATH"
# Default to the homebrew install of Python 3
alias python=/usr/local/bin/python3
alias pip=/usr/local/bin/pip3
# Add Python 3 binaries
export PATH="$HOME/Library/Python/3.9/bin:$PATH"
# Setup Android paths
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools