-
Notifications
You must be signed in to change notification settings - Fork 1
/
.zshrc
50 lines (38 loc) · 1.36 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
source $HOME/dotfiles/antigen.zsh
antigen use oh-my-zsh
# Developer Enhancements
antigen bundle git
antigen bundle heroku
antigen bundle redis-cli
antigen bundle terraform
antigen bundle vault
# Container Managment
antigen bundle docker
antigen bundle kubectl
antigen bundle kops
# Python
antigen bundle pip
# Node.js
antigen bundle nvm
antigen bundle yarn
antigen bundle react-native
# OS
if [[ "$OSTYPE" = darwin* ]]; then
antigen bundle macos
elif [[ "$OSTYPE" = linux* ]]; then
antigen bundle ubuntu # If I'm using my dotfiles on a gnux distro, chances are it's ubuntu
fi
# Misc
antigen bundle command-not-found
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-completions
antigen theme tylerreckart/hyperzsh
antigen apply
# The next line updates PATH for the Google Cloud SDK.
if [ -f "$HOME/dotfiles/google-cloud-sdk/path.zsh.inc" ]; then source "$HOME/dotfiles/google-cloud-sdk/path.zsh.inc"; fi
# The next line enables shell command completion for gcloud.
if [ -f "$HOME/dotfiles/google-cloud-sdk/completion.zsh.inc" ]; then source "$HOME/dotfiles/google-cloud-sdk/completion.zsh.inc"; fi
export NVM_DIR="$HOME/dotfiles/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion