From 8dee9f0453fb780561cb0ffee30cedc859c69f12 Mon Sep 17 00:00:00 2001 From: Bin Date: Wed, 1 Feb 2017 12:02:12 -0800 Subject: [PATCH] HADOOP_HOME and unalias --- runcoms/zpreztorc | 1 + runcoms/zshrc | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/runcoms/zpreztorc b/runcoms/zpreztorc index 7e3d309e..e05ef4ca 100644 --- a/runcoms/zpreztorc +++ b/runcoms/zpreztorc @@ -32,6 +32,7 @@ zstyle ':prezto:load' pmodule \ 'spectrum' \ 'utility' \ 'completion' \ + 'fasd' \ 'git' \ 'node' \ 'prompt' \ diff --git a/runcoms/zshrc b/runcoms/zshrc index 8fdecdb4..8e54cfee 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -6,10 +6,12 @@ fi ############################ # Customize to your needs... ############################ +unsetopt correct + export PSQL_EDITOR="vi" export KAFKA09=$MYSW/kafka -export HADOOP_HOME=/usr/local/opt/hadoop/libexec/etc/hadoop +export HADOOP_HOME=/usr/local/opt/hadoop/libexec 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 @@ -27,10 +29,7 @@ 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' +unalias gb source $MYDEV/appuri.env source $MYDEV/api-server.env