dotar/zsh/prezto-override/zshrc
2022-05-11 01:37:49 +08:00

30 lines
900 B
Bash

#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# Customize to your needs...
for config_file ($HOME/.yadr/zsh/*.zsh) source $config_file
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export HELM_HOME="$HOME/.helm"
export GOPATH=$HOME/go
pathAppend "$GOPATH/bin:$HOME/.local/bin:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin"
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
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
[ -s $HOME/.asdf/asdf.sh ] && . $HOME/.asdf/asdf.sh