Sometimes you are getting bored with one desktop environment, for example Unity or Gnome.
So what you do is install new desktop environment and apply for different experience. In the same way, what you do when you get bored with same colors and text in Terminal? There comes Oh My ZSH!.
Zsh(Z Shell) is also shell program just as bash or sh. Oh My ZSH! is a framework for Zsh. In the fact it is Linux shell program with advance feature like Colourful themes, syntax highlight, Git integration, spelling correction.
In this article , we will describe you how to install "Oh my ZSH!" and change themes. Just follow these steps to install Oh My ZSH!.
Note: You need to be logged in as root user with sudo privileges.
1. Update your package repository.
sudo apt-get update
2. Install prerequisites dependencies
sudo apt-get install zsh curl git git-core
3. Download source file
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
4. Copy ZSH configuration file to home directory
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
It will create .zshrc file in home directory. Fine the line ZSH_THEME="robbyrussell"
and replace robbyrussell with agnoster and save the changes.
5. Make zsh your default shell, run following command.
chsh -s /bin/zsh
You will need to logout and then login to get changes. Now open Terminal. your default shell will be replace with ZSH!.
6. Back to the bash shell, run the following command, logout and login to system.
chsh -s /bin/bash
7. Add custom pluggins to zsh
If you want to add custom plugin in Zsh, copy plugin to ~/.oh-my-zsh/custom/plugins
. To use a plugin and add it to the plugins list with space in your ~/.zshrc
file.
Also take note that more plugins will slow your shell, so be wise to add plugins.
I hope you liked this article.
Hi, My name is Harsukh Makwana. i have been work with many programming language like php, python, javascript, node, react, anguler, etc.. since last 5 year. if you have any issue or want me hire then contact me on [email protected]
Password Hashing and Verify in NodeJS using Bcrypt
In this article, we will share with you...How to Sort an Array of Integers Correctly in JavaScript
Use the sort() Method If you simply t...How to Get Portion of URL Path in JavaScript
Use the window.location Object You ca...Send Verification Mail to New User in Anguler9
Hello folks, In this Angular 7/8/9 Fireb...How to get a website's favicon with PHP
While working with my one of project, I...