-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprivate_dot_zshenv.tmpl
67 lines (58 loc) · 2.4 KB
/
private_dot_zshenv.tmpl
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
# ~/.zshenv
# Dont read global configs
unsetopt GLOBAL_RCS
### XDG specific stuff, because that's a thing now
# See also:
# https://github.com/b3nj5m1n/xdg-ninja
# https://github.com/doron-cohen/antidot
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_RUNTIME_DIR="$HOME/.local/run"
export XDG_STATE_HOME="$HOME/.local/state"
# buncha crap to make xdg-ninja happy
export ZDOTDIR="$HOME/.config/zsh"
export HISTFILE="$ZDOTDIR/history"
# configs
export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME/aws/credentials"
export AWS_CONFIG_FILE="$XDG_CONFIG_HOME/aws/config"
export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME/bundle"
export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker"
export GEMRC="$XDG_CONFIG_HOME/gem/config"
export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc"
export K9SCONFIG="$XDG_CONFIG_HOME/k9s"
export LESSKEY="${XDG_CONFIG_HOME}/less/lesskey"
export PRYRC="$XDG_CONFIG_HOME/pry/config"
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc"
export REDISCLI_RCFILE="$XDG_CONFIG_HOME/redis/redisclirc"
export RIPGREP_CONFIG_PATH="$XDG_CONFIG_HOME/ripgrep/config"
export TF_CLI_CONFIG_FILE="$XDG_CONFIG_HOME/terraform/config.hcl"
export VIMINIT="set nocp | source ${XDG_CONFIG_HOME:-$HOME/.config}/vim/vimrc"
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
# data
export BUNDLE_USER_PLUGIN="$XDG_DATA_HOME/bundle"
# export GEM_HOME="${XDG_DATA_HOME}/gem"
export GNUPGHOME="${XDG_DATA_HOME}/gnupg"
export GOPATH="${XDG_DATA_HOME}/go"
export MINIKUBE_HOME="$XDG_DATA_HOME/minikube"
export npm_config_cache="${XDG_CACHE_HOME}/npm"
# export TERMINFO="$XDG_DATA_HOME/terminfo"
# export TERMINFO_DIRS="$XDG_DATA_HOME/terminfo:/usr/share/terminfo"
# export TF_DATA_DIR="$XDG_DATA_HOME/terraform"
# caches
export BUNDLE_USER_CACHE="$XDG_CACHE_HOME/bundle"
export GEM_SPEC_CACHE="${XDG_CACHE_HOME}/gem"
export SOLARGRAPH_CACHE="$XDG_CACHE_HOME/solargraph"
# states
export ANSIBLE_HOME="$XDG_STATE_HOME/ansible"
export LESSHISTFILE="$XDG_STATE_HOME/less_history"
export MYSQL_HISTFILE="$XDG_STATE_HOME/mysql_history"
export PSQL_HISTORY="$XDG_STATE_HOME/postgresql_history"
export REDISCLI_HISTFILE="$XDG_STATE_HOME/redis_history"
export SQLITE_HISTORY="$XDG_STATE_HOME/sqlite_history"
### End XDG specific stuff
{{ if eq .chezmoi.hostname "arcadia" }}
# other work specific stuff
export USE_GKE_GCLOUD_AUTH_PLUGIN="True"
export OP_ACCOUNT=withpersona.1password.com
{{- end }}