-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.zshenv
80 lines (58 loc) · 2.27 KB
/
.zshenv
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
80
# -------------------------------------------------------------------------- zsh
# Path to oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="dsiebel"
# disable bi-weekly auto-update checks.
DISABLE_AUTO_UPDATE="true"
# display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
# Would you like to use another custom folder than $ZSH/custom?
ZSH_CUSTOM="${HOME}/.zsh-custom"
# -------------------------------------------------------------------------- env
# Setup homebrew env vars
# Note: PATH will be overwritten later
if [[ "$(/usr/bin/arch)" == "i386" ]]; then
eval "$(/usr/local/bin/brew shellenv)"
else
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
export HOMEBREW_PREFIX_X86="$(/usr/local/bin/brew --prefix)"
export HOMEBREW_PREFIX_ARM64="$(/opt/homebrew/bin/brew --prefix)"
# configure XDEBUG support
# export XDEBUG_CONFIG="idekey=XDEBUG";
# use vim as default editor for everything
export EDITOR="/usr/bin/vim";
export GIT_EDITOR=$EDITOR;
export SVN_EDITOR=$EDITOR;
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"
# Prefer US English and use UTF-8
export LC_ALL='en_US.UTF-8';
export LANG='en_US.UTF-8';
export LC_LANG='en_US.UTF-8';
# Highlight section titles in man pages
export LESS_TERMCAP_md="${yellow}";
# Don't clear screen after quitting man page
export MANPAGER='less -X';
# export MANPATH="/usr/local/man:$MANPATH"
# setup java properly. Thanks, Steve!
export JAVA_HOME="$(/usr/libexec/java_home)";
# Golang $GOPATH. Do the kids still do it like this nowadays?
export GOPATH="${HOME}/workspace/source/Go"
# check for nvm and load it if present
#export NVM_DIR="/Users/dsiebel/.nvm"
#[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
export GRADLE_USER_HOME="${HOME}/.gradle"
export GPG_TTY="$(tty)"
# https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
# https://krew.sigs.k8s.io/docs/user-guide/advanced-configuration/
# used in `.path`
export KREW_ROOT="${HOME}/.krew"
# Allow `tenv` to automatically install missing versions
export TENV_AUTO_INSTALL=true
# Terragrunt: Default to Terraform instead of OpenTofo
# export TERRAGRUNT_TFPATH="terraform"