linux:zsh

Z sh

https://ohmyz.sh/

zsh with oh-my-zsh and bullet-train theme

sudo apt install zsh
sudo apt-get install powerline fonts-powerline
sudo apt-get install ttf-ancient-fonts

- ubuntu install zsh and powerline font

git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

- install oh my zsh into home dir

cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

- cp oh my zsh template

chsh -s /bin/zsh

- change default terminal to zsh

chsh -s /bin/bash

- change default terminal back to bash/default

Update & Uninstallation oh-my-zsh Visit - https://github.com/robbyrussell/oh-my-zsh#manual-updates

cd .oh-my-zsh
upgrade_oh_my_zsh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.zsh-syntax-highlighting" --depth 1

- do not run this this causes an issue, replace the .zshrc file with the source yourself

echo "source $HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> "$HOME/.zshrc"
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  • linux/zsh.txt
  • Last modified: 2020/08/13 20:25
  • by jimboobrien