Two steps
— a replacement for basic Terminal
-
Download and install Iterm2
https://iterm2.com/
. -
Set a theme for Iterm2:
Gruvbox —
https://github.com/herrbischoff/iterm2-gruvbox
(you need download gruvbox.itermcolors
)
- Iterm2 - Preferences - Profiles - Color presets - Import - Choose
gruvbox.itermcolors
- In profile (on the left side) choose
gruvbox
- Other actions - Set as Default
- Install the required fonts
brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font
- Iterm2 - Preferences - Profiles - Text - Font - Choose Hack Nerd Font
— framework for managing your zsh configuration
-
Download:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-
Install theme for Oh-my-zsh — powerlevel10k:
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
- go to /Users/your_user/ and change
.zshrc
file (nano ~/.zshrc or open ~/.zshrc) - write
ZSH_THEME="powerlevel10k/powerlevel10k"
-
Add plugins:
Autosuggestions:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):
plugins=(other plugins... zsh-autosuggestions)
(by spaces) - Start a new terminal session.
zsh-syntax-highlighting:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
google search from terminal:
- nano .zshrc and add in plugins field:
web-search