redhat linux:
sudo yum install zsh
unbuntu linux:
sudo apt-get install zsh
mac
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
chsh -s /bin/zsh
change shell setting:
chsh -s /bin/zsh
add the following items into ~/.zshrc:
set -o vi
# personal hobby
export TBIRD_HOME=${HOME}/IdeaProjects/tbird
source ${TBIRD_HOME}/conf/unix/zshrc.local
# edit ~/.zshrc file to add more plugins for the plugins entry
# execute "ll ~/.oh-my-zsh/plugins" to get the full plugin list
plugins=(git autojump tmux)
- github: https://github.com/robbyrussell/oh-my-zsh
- plugins wiki page: https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins
- met the error while launching the hive command from the cli, refer the link for details
it is fixed by configurating the following environment parameter.
export HADOOP_USER_CLASSPATH_FIRST=true
- add softlink .zshrc.local under the home directory to point the zshrc.local file
- edit '.zshrc' to source the personal profile
source ~/.zshrc.local
source ~/.zshrc.secret
- .zshrc.secret has a copy in the evernote