-
Notifications
You must be signed in to change notification settings - Fork 0
/
.profile
44 lines (32 loc) · 1.2 KB
/
.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
#!/bin/bash
export LANG="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export EDITOR="code ."
export KUBE_EDITOR="nano"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -f ~/.aliases ] && source ~/.aliases
eval $(thefuck --alias)
# gcloud opt-in
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
# Golang
export GOPATH=$HOME/go
export GOROOT="$(brew --prefix golang)/libexec"
export GOPRIVATE="github.com/retailmediatools/*"
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
export PATH=$PATH:$(go env GOPATH)/bin
# java
export PATH="$(brew --prefix openjdk@11)/bin:$PATH"
export PATH="/usr/local/bin:$PATH"
# node/nvm
export NVM_DIR="$HOME/.nvm"
export NODE_OPTIONS="--max-old-space-size=8192"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && \. "/usr/local/opt/nvm/nvm.sh"
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# Python
export PATH=$HOME/Library/Python/3.9/bin:$PATH
# VS Code
export PATH=$PATH:/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
# secrets
export SOPS_AGE_KEY_FILE="$HOME/.sops/age.txt"