1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/runcoms/zshrc

35 lines
904 B

# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
8 years ago
############################
# Customize to your needs...
8 years ago
############################
export PSQL_EDITOR="vi"
export KAFKA09=$MYSW/kafka
export HADOOP_HOME=/usr/local/opt/hadoop/libexec/etc/hadoop
export HIVE_HOME=/usr/local/opt/hive/libexec
export HCAT_HOME=/usr/local/opt/hive/libexec/hcatalog
export HOMEBREW_CASK_OPTS=--caskroom=/opt/homebrew-cask/Caskroom
# node
export NVM_DIR="$HOME/.nvm"
# alias
alias sz='source ~/.zshrc'
alias ez='code -n ~/.zprezto/'
alias cdsrc='cd $MYSRC'
alias cdsw='cd $MYSW'
alias cdscript='cd $MYSCRIPTS'
alias cdapi='cd $MYSRC/api-server && nvm use'
alias cdevent-sink='cd $MYSRC/event-sink'
alias cdui='cd $MYSRC/ui'
alias cdkafka='cd $KAFKA09'
alias cdspark='cd $MYSW/spark'
source $MYSCRIPTS/appuri.env
source $MYSCRIPTS/api-server.env