iTerm2 and Oh-my-zsh
Download iTerm2
- Download iTerm2 for MacOs from here
 - After downloading, drag and drop iTerm2 file to your Application folder.
 
Install oh-my-zsh
Open iTerm2 and run the following curl command which will install oh-my-zsh and replace default terminal with zsh.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Dracula Theme
You can install using git:
git clone https://github.com/dracula/iterm.git
Activating theme
- iTerm2 > Preferences > Profiles > Colors Tab
 - Open the Color Presets... drop-down in the bottom right corner
 - Select Import... from the list
 -  Select the  
Dracula.itermcolorsfile - Select the Dracula from Color Presets...
 
Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)
Download zsh-autosuggestions using
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
Download zsh-syntax-highlighting using
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
To enable plugin, edit the ~/.zshrc file
vi ~/.zshrc
Find plugin using /plugin  then press " i "  to enter INSERT mode and 
append zsh-autosuggestions & zsh-syntax-highlighting to plugins() like this
.  
.  
.  
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)  
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/  
# Example format: plugins=(rails git textmate ruby lighthouse)  
# Add wisely, as too many plugins slow down shell startup.  
plugins=(  
  git  
  docker  
  zsh-autosuggestions 
  zsh-syntax-highlighting
)
Run the following command to apply the changes
source ~/.zshrc
              

    
Top comments (0)