-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.zshrc
24 lines (19 loc) · 851 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
HOMEBREW_PATH="/opt/homebrew/bin"
RUST_PATH="$HOME/.cargo/bin"
SUBLIME_PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin"
PYTHON_PATH=~/Library/Python/3.9/bin
export PATH="$PATH:$HOME:$HOMEBREW_PATH:$RUST_PATH:$SUBLIME_PATH:$PYTHON_PATH"
export DOTFILES_PATH="$( dirname $( realpath ${(%):-%N} ) )"
SHELL_CONFIG_PATH="$DOTFILES_PATH/shell"
source "$SHELL_CONFIG_PATH/exports.sh"
source "$SHELL_CONFIG_PATH/aliases.sh"
source "$SHELL_CONFIG_PATH/functions.sh"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# node version manager
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] \
&& printf %s "${HOME}/.nvm" \
|| printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# better cd
eval "$(zoxide init zsh)"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion