Skip to content

Instantly share code, notes, and snippets.

@MMnasrabadi
Last active March 14, 2020 05:43
Show Gist options
  • Save MMnasrabadi/9ced91b5ffe95f9a8e43889e73d8b9bd to your computer and use it in GitHub Desktop.
Save MMnasrabadi/9ced91b5ffe95f9a8e43889e73d8b9bd to your computer and use it in GitHub Desktop.
Setting up the beautiful terminal by ZSH and Oh My ZSH installations
Setting up the beautiful terminal by ZSH and Oh My ZSH installations
ohmyzsh github page:
https://github.com/ohmyzsh/ohmyzsh
Themes :
https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@MMnasrabadi
Copy link
Author

MMnasrabadi commented Mar 12, 2020

Setting up the beautiful terminal by ZSH and Oh My ZSH installations

Step 1: Install Homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Step 2: Install zsh
$ brew install zsh

Step 3: It runs on Zsh to provide cool features configurable within the ~/.zhrc config file. Install Oh My Zsh by running the command
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

and Check the installed version
$ zsh --version

Selecting a Theme

Step 4: Change the Default Theme

  1. run :
    $ open ~/.zshrc

  2. open Editor and edit 'ZSH_THEME'
    for example : ZSH_THEME="flazz"

Step 5: my favorite oh-my-zsh theme :

  1. flazz
  2. fishy
  3. maran
  4. geoffgarside

and for reload terminal :
$ source ~/.zshrc

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment