Installing ZSH in CentOS
These days I like to do all my terminal/command-line work in zsh, more specifically, with Oh My ZSH! and the bira theme. So, on my new node dgdocker3, I added nano, zsh, and some other goodies by largely following How to Setup ZSH and Oh-my-zsh on Linux.
This is how I did it…
sudo yum install nano sudo yum install zsh chsh -s /bin/zsh mcfatem exit # log back in after this echo $SHELL sudo yum install wget git wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc source ~/.zshrc cd ~/.oh-my-zsh/themes/ ls -a nano ~/.zshrc # In the editor add (or replace similar) the following lines but without the leading # # ZSH_THEME='bira' # plugins=(git extract web-search yum git-extras docker) exit # log back in after this
And that’s a wrap… until next time. 😄