Skip to content

Instantly share code, notes, and snippets.

@eliflores
Last active February 5, 2018 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eliflores/bd6d8bdcb8ea9e9d00685542fc1a8609 to your computer and use it in GitHub Desktop.
Save eliflores/bd6d8bdcb8ea9e9d00685542fc1a8609 to your computer and use it in GitHub Desktop.
Install and configure Oh My Zsh in MacOS! :)

Oh My Zsh in MacOS

  1. Run brew install zsh zsh-completions
  2. Run zsh --version - expected output is zsh 4.3.9
  3. Install Oh My Zsh ->
  • Via curl: sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  1. Setup your favorite theme:
  • In the ~/.zshrc file look for the ENV var: ZSH_THEME= and set it to the name of your favorite theme, mine is: awesomepanda.
  1. Get some of your favorite plugins and set them up in the ~/.zshrc file, e.g.
plugins=(
  git
  node
  bundler
  dotenv
  osx
  rake
  rbenv
  ruby
)
  1. Add
export DEFAULT_USER=$USER
prompt_context(){}

in ~/.zshrc to hide the “user@hostname” info when you’re logged in as yourself on your local machine.

  1. Run source ~/.zshrc for the changes to take effect! :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment