-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
49 lines (36 loc) · 1.52 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
export PATH=/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:/Users/jeffreylean/go/bin
export GOPRIVATE=gitlab.airasiatech.com/*
export GOPATH=$(go env GOPATH)
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
export PATH=$PATH:/Users/jeffreylean/.local/bin
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/jeffreylean/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/jeffreylean/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/Users/jeffreylean/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/jeffreylean/google-cloud-sdk/completion.zsh.inc'; fi
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
#Direnv setup
eval "$(direnv hook zsh)"
#nvim setup
alias vim='nvim'
export EDITOR='nvim'
#Oh my zsh theme
ZSH_THEME="mrp"
#go swagger
alias swagger='docker run --rm -it --user $(id -u):$(id -g) -e GOPATH=$(go env GOPATH):/go -v $HOME:$HOME -w $(pwd) quay.io/goswagger/swagger'
plugins=(git kubectl)
alias fketi="kgp --no-headers | awk '{print "\$"1}' | fzf --preview 'kubectl get pod {} -o yaml'| xargs -o -I % kubectl exec -it % -- /bin/sh"
export PATH=$PATH:/Users/jeffreylean/.cargo/bin
export PATH=$PATH:/Users/jeffreylean/.local/share/nvim/mason/bin
export PATH=$PATH:/opt/homebrew/Cellar/llvm/16.0.2/bin
alias python=python3
alias pip=pip3
alias lzg=lazygit
alias ls=eza
# start zoxide
eval "$(zoxide init zsh)"
alias cd=z