-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_zshrc
51 lines (42 loc) · 1.37 KB
/
dot_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
export DOTSCRIPTS="$HOME/.config/shell"
export EDITOR="nano"
export VISUAL="code --wait"
export PAGER="less"
export GOBIN="$(go env GOPATH)/bin"
export PNPMBIN="$HOME/Library/pnpm"
export PATH="$GOBIN:$PNPMBIN:$PATH"
export NVM_AUTO_USE=true
export SSH_AUTH_SOCK="$HOME/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock"
export TF_PRODUCT="terraform"
export ZOXIDE_CMD_OVERRIDE="cd"
source $HOMEBREW_PREFIX/share/antigen/antigen.zsh
zstyle :omz:plugins:iterm2 shell-integration yes
antigen use oh-my-zsh
antigen bundle aws
antigen bundle colored-man-pages
antigen bundle command-not-found
# antigen bundle direnv
antigen bundle fzf
antigen bundle iterm2
antigen bundle git
antigen bundle starship
antigen bundle sublime
antigen bundle tldr
antigen bundle zoxide
# antigen bundle atuinsh/atuin
antigen bundle zsh-users/zsh-apple-touchbar
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-completions
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle lukechilds/zsh-nvm
antigen apply
source $HOME/.config/op/plugins.sh
source $DOTSCRIPTS/aliases.sh
# Enable shell completions
eval "$(op completion zsh)"; compdef _op op
eval "$(uv generate-shell-completion zsh)"
eval "$(uvx --generate-shell-completion zsh)"
# Sign-in to 1Password if no session
if ! op whoami >/dev/null 2>&1; then
eval $(op signin --account grendel.1password.com)
fi