-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.zshrc
45 lines (35 loc) · 1.29 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
source ~/.profile
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
# ZSH settings
ZSH_THEME="luciano"
plugins=(
git vi-mode fzf
# zsh-autosuggestions
# zsh-syntax-highlighting
# node
# nvm
# yarn
# kubectl
)
export ZSH="${HOME}/.oh-my-zsh"
source $ZSH/oh-my-zsh.sh
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# NVM config
export NVM_DIR="$HOME/.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
# Setting the $PATH
export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH=$HOME/.cargo/bin:$PATH # Rust/Cargo
export PATH="$PATH:$(yarn global bin)" # Yarn global packages
export PATH=$PATH:$(go env GOPATH)/bin # Go binaries
export PATH="/opt/homebrew/opt/libpq/bin:$PATH" # pg_dump etc. installed via Brew
# Change indicator for vi-mode
export MODE_INDICATOR="%{$fg_bold[red]%}<< %{$fg[red]%}VIM KEYS ACTIVATED >>%{$reset_color%}"
# Enable the fuck command
eval $(thefuck --alias)
# Load generalrc latest, to Oh My ZSH commands
source ~/.generalrc
# MacTex CLI
eval "$(/usr/libexec/path_helper)"