
Open up your ZSH preferences at /.zshrc and change the theme variable to ZSHTHEME'cobalt2'. That's all there is to it! You should now have functional command autocompletion with your terminal. Drop the cobalt2.zsh-theme file in to the /.oh-my-zsh/themes/ directory. Once done, run source ~/.zshrc Conclusion Here, all that is needed is adding zsh-autosuggestions to the plugins list, just like I have shown above. It comes bundled with a ton of helpful functions, helpers, plugins, themes and a few things that make. For the purposes of this tutorial, I will be using VIM.Īfter navigating down through the file, you should see a plugins section. Oh-My-Zsh is an open source, community-driven framework for managing your ZSH configuration. To enable the plugin, open the file in a text editor of your choice. As indicated by the ~, this file is located within your home directory. Enabling the PluginĪssuming you already have iTerm2 and OhMyZSH already installed, it's simply a matter of altering your ~/.zshrc file. The darker gray text is what ZSH is predicting that I am wanting to type. Rather than having to manually type out each and every hostname, I'm able to simply begin typing the start of the hostname and then press Tab to autocomplete the rest of the hostname An example of tab autocompletion within iTerm2. I find this plugin extremely convenient when trying to ssh to servers within my lab or at work. There are different shells that provide different syntax, features and functionality. ZSH is a specific shell, as is bash, the same way linux is a specific operating system. It's the terminal program providing you with a command line interface.

Today's quick write up will cover my favorite plugin offered for ZSH: command autocompletion. iTerm2 is a terminal emulator meant to be a replacement for macOS terminal and is far more feature rich. It comes bundled with several helpful functions, helpers, plugins, themes, and a few things that make you shout. OhMyZSH builds on top of this, offering a plethora of features including plugins. Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. ITerm 2 acts as a no-frills, yet feature rich, terminal for MacOS devices. I have thoroughly enjoyed it but have found that iTerm2 and OhMyZSH have made for excellent additions to my workflow.
#ITERM OH MY ZSH PRO#
My current workstation setup consists of a 16" M1 Pro MacBook Pro. The oh-my-zsh will be replace default terminal with zsh automatically when you installed.
