-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
38 lines (29 loc) · 1.24 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
#!/bin/zsh
. ~/.zsh/config
. ~/.zsh/aliases
. ~/.zsh/opts
. ~/.zsh/autocomplete
if [[ -f /opt/dev/dev.sh ]]
then
source /opt/dev/dev.sh
[[ -f /opt/dev/sh/chruby/chruby.sh ]] && { type chruby >/dev/null 2>&1 || chruby () { source /opt/dev/sh/chruby/chruby.sh; chruby "$@"; } }
[[ -x /opt/homebrew/bin/brew ]] && eval $(/opt/homebrew/bin/brew shellenv)
PATH=/opt/homebrew/sbin:$PATH
else
[[ -f /usr/local/share/chruby/chruby.sh ]] && source /usr/local/share/chruby/chruby.sh
[[ -x /usr/local/bin/brew ]] && eval $(/usr/local/bin/brew shellenv)
fi
PATH=~/.bin:$PATH
PATH="/usr/local/opt/ruby/bin:$PATH"
PATH="/opt/homebrew/opt/node@20/bin:$PATH"
PATH="/opt/homebrew/opt/ruby/bin:$PATH"
GPG_TTY=$(tty)
export GPG_TTY
if [ "$TMUX" = "" ]; then tmux new -As0; fi
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -f ~/.zsh/functions/fzf-tab/fzf-tab.plugin.zsh ] && source ~/.zsh/functions/fzf-tab/fzf-tab.plugin.zsh
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.bin/forgit/forgit.plugin.zsh
[[ -f ~/.openairc ]] && source ~/.openairc
# cloudplatform: add Shopify clusters to your local kubernetes config
export KUBECONFIG=${KUBECONFIG:+$KUBECONFIG:}/Users/bartzonneveld/.kube/config:/Users/bartzonneveld/.kube/config.shopify.cloudplatform