ubuntu install zsh terminal

Brick moving blog post: https://blog.csdn.net/lxn9492878lbl/article/details/80795413

  1. Install zsh
sudo apt-get install zsh
  1. Install oh my zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
  1. Configuration file
    3.1 Create configuration file
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

3.2 Set zsh as the default shell

chsh -s /bin/zsh

Restart Ubuntu at this point to enjoy the new terminal.

  1. Matters needing attention
    4.1 Edit theme
    You can go to https://github.com/robbyrussell/oh-my-zsh/wiki/themes to see what theme you like, and then make changes in the .zshrc file.

Just modify the theme you want.
4.2 Some commands cannot be used after changing to zsh

sudo gedit .zshrc

Then find the # User configuration section, add

source ~/.bash_profile

then

source .zshrc

4.3 Switch bash

chsh -s /bin/bash

Finally you can enjoy zsh

Recommend better-looking themes

1、 jtriley (more recommended)
2、 dpoggi (this theme is very similar to the original terminal)
3、 af-magic
4、 ys

Recommended Posts

ubuntu install zsh terminal
ubuntu18.04 install python2
ubuntu18.04 install docker
ubuntu12.04 install python3
Ubuntu install guide
ubuntu install nodejs
ubuntu 16 install asp.net
ubuntu install leanote
ubuntu install Jenkins
docker install ubuntu
ubuntu install elasticsearch
ubuntu16.0.1 install pagoda
ubuntu18.04 install python
ubuntu 18.04 install teamviewer
ubuntu install sendmail
Install apache+PHP under Ubuntu
Install mysql-pytho in Ubuntu
Install Redis on Ubuntu
Install R4 on ubuntu20
Install nvtop on Ubuntu 18.04
Install postgresql-10 on Ubuntu 18.04
Install python3.6 under Ubuntu 16.04
Install docker on Ubuntu
Ubuntu18.04 install opencv 3.2.0 solution
Install mysql under Ubuntu 16.04
Install Thrift under ubuntu 14.10
Install OpenJDK10 under Ubuntu
Install Caffe under Ubuntu 14.04
Install Docker on ubuntu18.04
Install nodejs10 on Ubuntu16
ubuntu install harbor warehouse
Install mysql on Ubuntu 14.04
Ubuntu16.04 install Mongodb tutorial
Install Django on ubuntu
Install Pytorch+CUDA on Ubuntu 16.04
2018-09-11 Install arduino under Ubuntu
Install Python3 on Ubuntu 14.04
Ubuntu18.04 install Asterisk16.10 + FreePBX15.0
Ubuntu19 install MySQL pit
ubuntu16.04 install node.js, npm
Install rJava on Ubuntu18
Install JDK10+ on Ubuntu
pcduino ubuntu install os
Install python in Ubuntu
Install JDK in Ubuntu19.10
Install Python3 on Ubuntu 16.04
Install ROS under ROS Ubuntu 18.04[2]
Install MySQL under Ubuntu
Install KDE on Ubuntu16.04.2
ubuntu install nginx server
Install Yarm-PM2 under Ubuntu
Install Docker on Ubuntu18
Install Python3.7 on Ubuntu
Install flashplayer on Ubuntu
ubuntu: install camera driver
ubuntu14.04 install jdk1.8 tutorial
Docker practice (1): install Docker on Ubuntu 16.04
ubuntu16.04 install caffe cpu version
Install ubuntu on virtual machine
Windows 10 install Linux subsystem Ubuntu
Install OpenSSL 1.0.2 on Ubuntu Server 14.04