-
Notifications
You must be signed in to change notification settings - Fork 1
/
zshrc.mac
38 lines (24 loc) · 1.23 KB
/
zshrc.mac
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
# https://stackoverflow.com/a/12403798/
bindkey "^[[1;3D" backward-word
bindkey "^[[1;3C" forward-word
autoload -U add-zsh-hook
add-zsh-hook -Uz chpwd (){ direnv exec . rgb; }
eval "$(brew shellenv)"
fpath=($HOMEBREW_PREFIX/share/zsh/site-functions $fpath)
# . ~/.asdf/plugins/java/set-java-home.zsh
# . /opt/homebrew/opt/asdf/libexec/asdf.sh
. "$HOME/.cargo/env"
source ~/.config/op/plugins.sh
eval "$(op completion zsh)"; compdef _op op
eval "$(mise activate zsh)"
eval "$(mise activate zsh --shims)"
source <(render completions zsh)
fpath+=(~/.config/hcloud/completion/zsh)
# Automatically installed by iterm2 into .zshrc
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" || true
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/Craig/tools/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/Craig/tools/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/Users/Craig/tools/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/Craig/tools/google-cloud-sdk/completion.zsh.inc'; fi
# https://developer.1password.com/docs/ssh/get-started/#step-4-configure-your-ssh-or-git-client
export SSH_AUTH_SOCK=~/.1password/agent.sock