Setting Up Manjaro Linux From Scratch

STEP 10 : Configure oh-my-Zsh (Best Terminal )

oh-my-Zsh is The best terminal I’ve ever used.

for Zsh we have to pre install these: 
1.git
2.curl
3.wget

By Curl

sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

By pacman

pacman -S Zsh
  • Switching from — zsh to bash and vice versa
exec bash (to bash) 
exec zsh (to zsh)
  • Change default shell
chsh -s /bin/zsh
  • Manual Update — {{ upgrade-oh-my-zsh }} by zsh terminal
  • Uninstall zsh— {{ uninstall-oh-my-zsh }} by zsh terminal
  • Plugins (In my System)
plugins=(git
archlinux
brew
command-not-found
github
npm
node
ruby
ssh-agent
sublime
sudo
terminalapp
vscode
web-search
gem
rvm
bundler
copyfile
zsh-syntax-highlighting
zsh-autosuggestions
)
  • Theme (In my system)
ZSH_THEME=agnoster
  • Path (Imp)
.Zshrc file in Home Directory
1. # Path to your oh-my-zsh installation.
export ZSH="/home/{{ Pc_UserName }}/.oh-my-zsh"
2. source $ZSH/oh-my-zsh.sh
3. # If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
  • Custom Plugins
  1. Add Syntax highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

2. Auto Suggestion

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Run both the codes from your zsh_Terminal

Now, Activate— go to .Zshrc file in home directory .
Add:

plugins=( zsh-syntax-highlighting
zsh-autosuggestions
)
  • Fonts and color scheme settings

Right click on empty zsh_terminal and click on Edit current profile then click on Appearence.

Color-Scheme & background - Maia
font - Meslo LG S DZ for Powerline

Install- Powerline Fonts

  • Lists of shells(installed in your system)
cat /etc/shells

Aticles For Zsh

1.agnoster/agnoster-zsh-theme

2.powerline/fonts

oh-my-zsh

read original article here