/
.zshrc
35 lines (26 loc) · 876 Bytes
/
.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
# Autosuggestions
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# Completions
if type brew &>/dev/null; then
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
autoload -Uz compinit
compinit
fi
# Syntax highlighting
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source <(kubectl completion zsh)
# Pyenv
eval "$(pyenv init -)"
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && \. "/usr/local/opt/nvm/nvm.sh"
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/usr/local/opt/nvm/etc/bash_completion.d/nvm"
# Aliases
source ~/.zsh/aliases.zsh
# Functions
source ~/.zsh/functions.zsh
# Starship
eval "$(starship init zsh)"
# Workaround Hyper first line precent sign (wait for v3.1.0)
unsetopt PROMPT_SP
source /Users/munterfi/.docker/init-zsh.sh || true # Added by Docker Desktop