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

38 lines
949 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 ec='code -n $MYDEV'
8 years ago
alias cdsrc='cd $MYSRC'
alias cdsw='cd $MYSW'
alias cddev='cd $MYDEV'
8 years ago
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 $MYDEV/appuri.env
source $MYDEV/api-server.env
source <(kubectl completion zsh)