In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to install zsh in ubuntu16.04". In daily operation, I believe many people have doubts about how to install zsh in ubuntu16.04. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts about "how to install zsh in ubuntu16.04". Next, please follow the editor to study!
1 、 Install zsh
Install zsh first, and you don't have to continue if you are prompted to install it:
Sudo apt install zsh
View the installation version 5.1.1 (current):
Zsh-version
Switch from bash to zsh:
Chsh-s $(which zsh)
Log in to Log out again, the zsh configuration interface appears, press 2 to save, and then view the current Shell program:
Echo $SHELL
Just see the output / bin/zsh.
2 、 Install oh-my-zsh
Oh-my-zsh is a zsh configuration project, because at first the configuration of zsh is a bit troublesome, so a great god has done this project, which makes it very convenient to configure zsh.
In this way, ordinary programmers use Shell like a geek!
Let's install oh-my-zsh first:
Sudo wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh-O-| sh
Open the configuration file for oh-my-zsh:
Vim / .zshrc
Change the theme to ys, which I think looks good:
11ZSHSHENTHEME11ZSHENTHEME = "ys"
Source updates the current shell environment:
Source / .zshrc
Got it, this is my Shell interface, not bad:
By the way, if you used bash before and added the relevant configuration of the system environment to .bashrc, for example:
Network agents, environment variables, etc.
Then do the same configuration in .zshrc after switching to zsh, otherwise some programs may not start. Remember!
At this point, the study on "how to install zsh in ubuntu16.04" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.