Skip to content

andrefangeloni/setup-terminal-macOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Setup Oh My ZSH on macOS

Open terminal and run the following commands:

Installing Oh My ZSH

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Plugins

Syntax Highlighting

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

Auto Suggestions

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

Spaceship Theme

git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"

Setup

Run code ~/.zshrc to open .zshrc file on VS Code.
Find the respectives lines and replace the code below:

  • Set ZSH_THEME="spaceship"
  • Set plugins=(git zsh-syntax-highlighting zsh-autosuggestions)

Close terminal and open again for changes to be applied.

Bonus

  • Go to Terminal > Preferences > Profiles > Text:
    Change background image
    You can download the image is available in this repo or feel free to use another that you liked.

  • Go to Terminal > Preferences > Profiles > Advanced:
    Uncheck Allow VT100 application keypad mode to use numeric pad on extended keyboard.

Optional

Put SPACESHIP_PACKAGE_SHOW=false at the end of .zshrc file.

Result

Your terminal should be like that:

About

Tutorial for setup Oh My ZSH on macOS

Topics

Resources

Stars

Watchers

Forks