Shell (Oh My zsh)

Source: Internet
Author: User
Tags git clone

1. View the currently supported Shell (Linux)

$ cat/etc/shells

2. Change the shell currently in use

$ chsh-s/bin/zsh

$ chsh-s $ (which zsh)

3. Compare the available zsh have oh my zsh

Automatic installation

$ wget Https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh-O-| Sh

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

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

Manual Installation

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

$ CP ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.ZSHRC

4. View Zsh Version number

Zsh--version

Note: If the command above indicates an error, the ZSH is not installed. Then go install it.

5. View the shell version you are using now

Ehco $SHELL//$SHELL may be a variable of the system.

6. Oh my ZSH directory structure

LIB provides a script library of core functionality

Tools provides shortcuts to installation, upgrade, and more

Plugins the presence and placement of the plug-in

Templates The presence position of the self-brought template

Themes the presence and placement of the theme files

Custom personalized configuration directory, self-installing plugins and themes can be placed here

7. Oh my zsh tool settings and theme settings (~/ZSHRC file to modify the corresponding things can be)

Tool Settings ~/.oh-my-zsh/plugins

plugins= (git) = plugins= (git wd history)

Theme Settings ~/.oh-my-zsh/themes

Zsh_theme= "Lambda" or zsh_theme= "random"//echo $ZSH _theme agree to the current topic name

8. Oh my zsh update

Automatic update of ~/ZSHRC files in modified Disable_update_prompt=true

Manual Update $ upgrade_oh_my_zsh

9. Oh my zsh uninstall//uninstall_oh_my_zsh

Shell (Oh My zsh)

Related Article

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.