How To Install & Setup Oh-My-Zsh on Linux

Z shell is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh having l...

How To Setup ZSH and Oh-my-zsh on Linux

Z shell is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting.

Zsh having lot of improvements over Bourne shell and first created by Paul Falstad in 1990.

Zsh Features

  • Sharing command history among all running shells.
  • Spelling correction
  • Loadable Modules
  • Named directories


Installation Steps

In order for Oh-My-Zsh to work on the system ,zsh need to be installed

Step 1: Install ZSH

Two ways we can install ZSH
  1. Source package
  2. Package Manager.
For Ubuntu
apt install zsh
For CentOS7
sudo yum update && sudo yum -y install zsh
For OpenSUSE
zypper install zsh
For Fedora
dnf install zsh
Step 2: Make it as Default Shell
chsh -s (which zsh) root
Step 3: Verify the shell

Logout from the root user and login again to verify the shell
echo $SHELL
Step 4: Install and Configure Oh-My-Zsh Framework

Once Z Shell is installed and confirmed install the Framework from the GIT

For Ubuntu
apt install wget git
On CentOS
yum install wget git
Install Oh-My-Zsh Framework
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
Oh-My-Zsh will be installed in the home directory "~/.oh-my-zsh".Copy the zshrc.zsh-template config file to the home directory .zshrc and apply the config
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
source ~/.zshrc
Step 5: Change Oh-My-Zsh Themes

Oh-My-Zsh framework provides large no.of themes , You can change the default themes by editing the config file .zshrc which will be under ./oh-my-zsh/themes/

Set ZSH_THEME to the name of the theme in your ~/.zshrc, before sourcing Oh My Zsh
ZSH_THEME=af-magic

If you do not want any theme enabled, just set ZSH_THEME to blank: ZSH_THEME=""

COMMENTS

Name

0 A.D,1,Android Guide,1,Atom,6,Audacious,3,Audacity,2,Automation,1,Avidemux,1,BleachBit,1,Blender,5,Bluefish,2,Bluehost,12,Bluehost Coupons,24,Brackets,2,Calibre,2,CDROM,1,CentOS,101,CentOS 8,3,CherryTreeEditor,1,Cinnamon,1,Clementine,1,Coupons,19,Darktable,7,Debian,14,digikam,6,Disable nouveau drive,1,Docker,1,Domain coupons,2,Domaincoupons,2,Driver,1,DVDROM,1,editor,3,Fail2Ban,1,Fedora,71,Fedora 26,12,FFmpeg,4,Firefox,29,firefox61,3,FlightGear,1,Foodpanda,1,Fotoxx,3,FreeOffice,1,Frostwire,1,GatewayIP,1,Gimp,5,Git,19,Google Chrome,1,HandBrake,1,Hostgator,2,HostGator 70% OFF Coupon Code,1,HostGator Coupon Code,1,Hostgator Coupons,2,How To,552,HPLIP,15,iPage,1,iPage Coupons,1,Kdump,1,KeePassXC,1,kernel,47,Kodi,11,Krita,6,Libreoffice,12,Linux Mint,7,LinuxMint,301,LVM,1,MariaDB,1,MIUI,2,MKVToolNix,11,Mobile News,2,Musicplayer,1,MyThemeShop,2,MyThemeShop coupons,2,Namecheap,5,Netbeans,1,NFS,1,NFS Server,1,Nuvola,1,NVIDIADriver,21,Oh-My-Zsh,1,OpenOffice,2,openSUSE,1,Opera,2,OS Upgrade,1,OTA Update,1,Pidgin,3,Plasma,2,POCO,1,POCO F1 Update,1,qBittorrent,3,Redhat,31,Redhat 8,1,Redmi Note 7 Pro Update,1,Rhythmbox,1,runlevel,1,SiteGround,9,SiteGround Coupons,7,Skype,6,SMPlayer,2,SparkyLinux,1,SSH,1,Stellarium,3,Sudo,1,Tesla Coupons,1,TeslaThemes,2,Themes,1,TORbrowser,3,Ubuntu,516,uGet,3,Upgrade,2,Video Editor,1,VidMasta,1,Virtualbox,26,Vivaldi Browser,3,VLC,5,VxVM,1,Wavebox,1,Webhosting tutorials,2,Wine,18,Winrar,1,Wireshark,18,
ltr
item
askmetutorials: How To Install & Setup Oh-My-Zsh on Linux
How To Install & Setup Oh-My-Zsh on Linux
https://1.bp.blogspot.com/-cdER2nhL_qc/XSNh397Y5rI/AAAAAAAAFlk/K9WkqlByos0_pnSaZ9fSGHoG7G5GY5IzgCLcBGAs/s320/Capture-min.PNG
https://1.bp.blogspot.com/-cdER2nhL_qc/XSNh397Y5rI/AAAAAAAAFlk/K9WkqlByos0_pnSaZ9fSGHoG7G5GY5IzgCLcBGAs/s72-c/Capture-min.PNG
askmetutorials
https://www.askmetutorials.com/2019/07/how-to-setup-zsh-and-oh-my-zsh-on-linux.html
https://www.askmetutorials.com/
https://www.askmetutorials.com/
https://www.askmetutorials.com/2019/07/how-to-setup-zsh-and-oh-my-zsh-on-linux.html
true
7830501603203534059
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content