ubuntu18.04 under Installation oh-my-zsh

Source: Internet
Author: User

    1. sudo apt-get install zsh
    2. wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
    3. chsh -s /bin/zshChange the default shell from bash to zsh
    4. sudo rebootRestart
Change theme

Website Theme Page

    • The path to the theme is to make a file of a ~/.oh-my-zsh/themes theme effective, ~/.zshrc find a ZSH_THEME="robbyrussell" row (about 11 lines), comment it out, add a line below ZSH_THEME="ys" , then close the terminal and restart it.
    • Note: = there must be no space on the right side of the symbol, otherwise it will be an error to find this topic, I was trapped here for more than half an hour.
Plug - ins

Introduction to related plugins

    • Better to use last-working-dir , this plug-in is the role of the next time you open the terminal to the previous directory, is a very useful plug-in.
    • The use of the same method, the difference is to find plugins=(git) this line, instead plugins=(git last-working-dir) , also restart the terminal after the effective.
    • Some useful themes and plugins for zsh and Oh-my-zsh
    • Make your shell stand out: The configuration of oh-my-zsh under Ubuntu

ubuntu18.04 under Installation oh-my-zsh

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.