Rapidly config zsh & oh-my-zsh in Ubuntu
Introduction
zsh
is a more powerful shell than the default bash
shell. With oh-my-zsh
, you can easily configure your zsh
shell with plugins and themes. This post will guide you through the process of configuring zsh
and oh-my-zsh
in Ubuntu.
Installation
sudo apt update
sudo apt install -y git curl zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
After running the above commands, you will be prompted to change your default shell to zsh
. Type y
and press Enter
to change the default shell.
Themes
sudo vim ~/.zshrc
Change the ZSH_THEME
to your favorite theme. For example, ZSH_THEME="random"
.
Some popular themes:
Plugins
References
版权声明: 如无特别声明,本文版权归 Longbin's Tech-Blog 所有,转载请注明本文链接。
(采用 CC BY-NC-SA 4.0 许可协议进行授权)
本文标题:《 ZSH Rapid Configuration 》
本文链接:https://longbin.tech//linux/ZSH-Rapid-Configuration.html
本文最后一次更新为 天前,文章中的某些内容可能已过时!