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.
38 lines
949 B
38 lines
949 B
# Source Prezto.
|
|
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
|
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
|
fi
|
|
|
|
############################
|
|
# Customize to your needs...
|
|
############################
|
|
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'
|
|
|
|
alias cdsrc='cd $MYSRC'
|
|
alias cdsw='cd $MYSW'
|
|
alias cddev='cd $MYDEV'
|
|
|
|
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) |