In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install zsh in ubuntu. It is very detailed and has a certain reference value. Friends who are interested must finish it!
Linux beautifies ZSH to view the current shell###echo $SHELL
Note: / bin/bash by default
Install zsh
Redhat/Centos
Yum install-y zsh
Ubuntu
Sudo apt-get install zsh-y switches the current shell to zshzsh-- versionsudo chsh-s $(which zsh)
You need to restart the system to take effect. After rebooting, you should see a new effect # start installing oh-my-zsh###
Sh-c "$(curl-fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"install plugins
Add plug-ins, change the theme themes, please modify ~ / .zshrc
For example, add a history plug-in # cd ~ / .oh-my-zsh/plugins
Check which plug-ins are available, find out which plug-ins you want to use, and go to the directory of the plug-ins you want to install, where there are README.md instructions.
Vim / .zshrc
Edit this file and find it in the file
Plugins= (git)
Add the plug-ins you want to use below, such as plugins= (history), save exit, restart the system; at this time, you can follow the instructions file to use the h command to view the history command.
Oh-my-zsh uses links
Change zsh theme
Edit. / .zshrc
Replace ZSH_THEME=agnoster
Save and exit
If the terminal appears garbled after reboot, you can install the font, then select the corresponding font font in the terminal settings, and then restart your system.
The above is all the contents of the article "how to install zsh in ubuntu". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.