-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
83 lines (61 loc) · 1.67 KB
/
zshrc
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
81
82
83
# Locales
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
# Editor
export EDITOR=nvim
# OH-MY-ZSH
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
source $ZSH/oh-my-zsh.sh
# ZSH Autosuggestions
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# COMPLETION
autoload -U +X bashcompinit && bashcompinit
# Ansible
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
# ASDF
source $(brew --prefix asdf)/libexec/asdf.sh
# ASDF-DIRENV
source "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc"
# ASDF-JAVA
source ~/.asdf/plugins/java/set-java-home.zsh
# FZF
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# GCLOUD
export CLOUDSDK_PYTHON=python3
export CLOUDSDK_GSUTIL_PYTHON=python3
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
GCLOUD_HOME=$(asdf where gcloud)
source $GCLOUD_HOME/completion.zsh.inc
source $GCLOUD_HOME/path.zsh.inc
# GH CLI
export GPG_TTY
# PIPX
export PATH="$PATH:$HOME/.local/bin"
eval "$(register-python-argcomplete pipx)"
# UNBOUND
export PATH="/usr/local/sbin:$PATH"
# VAULT
complete -o nospace -C /usr/local/bin/vault vault
# GNU SED
export PATH="$(brew --prefix)/opt/gnu-sed/libexec/gnubin:$PATH"
# HOMEBREW
# https://github.com/orgs/Homebrew/discussions/4133
export HOMEBREW_NO_INSTALL_FROM_API=1
# TMUXP
export DISABLE_AUTO_TITLE='true'
# CUSTOM
export PATH="$HOME/bin:$PATH"
# CUSTOM PROFILES
if [ -f $HOME/.aliases.zsh ]; then
source $HOME/.aliases.zsh
fi
if [ -f $HOME/.elastic.zsh ]; then
source $HOME/.elastic.zsh
fi
if [ -f $HOME/.personal.zsh ]; then
source $HOME/.personal.zsh
fi
# Generated by Hermit; START; DO NOT EDIT.
eval "$(test -x $HOME/bin/hermit && $HOME/bin/hermit shell-hooks --print --zsh)"
# Generated by Hermit; END; DO NOT EDIT.