Oh my zsh minimal tutorial

utils productivity
Written on August 30, 2019

Z shell is an extended Bourne shell (Bash) that include many usefull features.

Oh my Z shell is a community-driven colleciton of themes and plugins for Zshell than facilitate the configuration and installation of new plugins and themes.

As of June 2019, according to wiki it is a default shell for macOS Catalina

Installation

  1. install zsh guide
sudo apt-get install zsh
  1. install curl or wget and git
  2. Download omyzsh script
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

or

sh -c "$(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Features

clever cd / ls

cd <TAB><TAB>

history (autocomplete , shared)

ls <UP>

kill (by command starting letter)

kill

lookup params in man

ls -<TAB>

inline globbing

git

edit long command CTRL + X + CTRL + E ??

THEMES

Plugins

vi ~/.zshrc

plugins=(
  git
  docker 
  nmap
)

Usage optimized

Here we will discuss some configurations and best practicise to foster usage of zsh and make it more transparent and easier

  1. github plugin, docker plugin, tmux plugin plugins
  2. plugin manager https://getantibody.github.io/
  3. awesome plugins