Hyper Setup
Hyper is an Electron-based terminal built on HTML/CSS/JS. I like how few configuration changes I need to start working. Credits to @cesarmcferreira for this neat setup.
To install, simply run the following in your terminal:
brew install hyperAfter installing, open Hyper and use it for the rest of the setup.
Theme
hyper snazzy is an elegant Hyper theme with bright colors: https://github.com/sindresorhus/hyper-snazzy
You’ll need to install the Pure prompt first before proceeding.
hyper install hyper-snazzyShell
Zsh
Since macOS Catalina, Zsh has been adopted as the default shell, replacing Bash. So there’s no need to manually install Zsh anymore. If you’re not sure, run echo "$SHELL" in your terminal. You should get /bin/zsh as a response.
Zsh Framework
Oh My Zsh is an open-source, community-driven framework for managing your Zsh configuration: http://ohmyz.sh/
Installation:
Prompt
Pure is a pretty, minimal, and fast Zsh prompt: https://github.com/sindresorhus/pure
But you’ll need Node installed first:
Then, to install:
And add this to the end of your ~/.zshrc:
FAQ
What is a .zshrc file? Basically, it’s a Z shell resource file that contains your configuration.
How do I edit / access the .zshrc file?
Your .zshrc file is in your home directory. To open it, use your default text editor:
Big Sur Issue: After installing Brew, I get a "command not found"
Simply open your .zshrc file and add this:
export PATH=/opt/homebrew/bin:$PATH
Zsh Plugins
Zsh autosuggestions
zsh-autosuggestions is a Fish-like, fast, unobtrusive auto-suggestion plugin for Zsh. It suggests commands as you type, based on your command history.
Installation:
Search for the plugins line inside ~/.zshrc and add the plugin to the list of plugins for Oh My Zsh to load
Zsh Syntax Highlighting
zsh-syntax-highlighting is a Fish shell-like syntax highlighting plugin for Zsh.
Installation:
Then again, search for the plugins line inside ~/.zshrc and add the plugin to the list of plugins for Oh My Zsh to load
You need to source your config
Last updated