zsh shell code example

Example 1: oh my zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Example 2: zsh

sudo apt install zsh

## Make default shell set and logout
chsh -s $(which zsh)

Example 3: oh my zsh

sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Example 4: zsh shell

sudo apt install zsh (Linux)

Example 5: does installing zsh disable bash

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

Example 6: zsh shell in linux

apt install zsh

Tags:

Misc Example