Level up Mac Terminal Like Pro

Rahul Goel
2 min readFeb 3, 2022

Make your terminal talk of the town with super convenient autocomplete options and elevated user experience with tons of plugins and themes.

If You are a frequent terminal user this post would change the way you used to think about terminal on mac and would make it a breeze as iOS Developer.

Installing OhMyZsh on Mac: OhMyZsh is a framework for Zsh, the Z shell.

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

You can also install via homebrew

brew install zsh

Plugins: Oh My Zsh comes with lots of plugins for you to take advantage of.

Enabling iOS Specific Plugins:

plugins=(git
macos
xcode
swiftpm
pod)

Auto complete when you type command:

You’ll find the .zshrc file in your $HOME directory. Open it with your favorite text editor and you'll see a spot to list all the plugins you want to load.

oh my zsh Directory

Git Clone the zsh-autocomplete plugin in the OhMyZsh plugin folder.

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

zsh-autocomplete installation

Once that is done, add the plugin in the ~/.zshrc file's plugin list.

plugins=(git
macos
xcode
swiftpm
pod
zsh-autosuggestions)
Git Autosuggestions
Cocoapods Autosuggestions

Installing Themes:

robbyrussell is the default theme for ohmyzsh. Once you find a theme that you’d like to use, you will need to edit the ~/.zshrc file.You’ll see an environment variable (all caps) in there that looks like:

ZSH_THEME="robbyrussell"

Resources

Follow me Rahul Goel for more updates.

--

--

Rahul Goel

Computer Science Enthusiast | 11+ Year of Software Evolution | @Sharechat, Groupon, Paytm, Myntra https://www.linkedin.com/in/therahulgoel/