That's all there is to it! You should now have functional command autocompletion with your terminal. Once done, run source ~/.zshrc Conclusion This is plugin management made so easy your. When I refer to Zsh, a lot of the features are actually a part of Oh My Zsh. Oh my zsh allows you to play around with a whole host of plugins by simply updating a list in your. Here, all that is needed is adding zsh-autosuggestions to the plugins list, just like I have shown above. apple silicon so Ill go with that) brew install -cask rectangle Install iterm brew install -cask iterm2 Install oh my zsh brew install zsh & sh. Oh My Zsh is a framework for managing your Zsh configuration, and it is a must download. For the purposes of this tutorial, I will be using VIM.Īfter navigating down through the file, you should see a plugins section. 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. Today's quick write up will cover my favorite plugin offered for ZSH: command autocompletion. OhMyZSH builds on top of this, offering a plethora of features including plugins. ITerm 2 acts as a no-frills, yet feature rich, terminal for MacOS devices. In simpler terms, this plugin creates shortcuts for git commands. One example is the git plugin that gives you aliases and functions. I have thoroughly enjoyed it but have found that iTerm2 and OhMyZSH have made for excellent additions to my workflow. The 'oh-my-zsh' plugins add new functionalities to your iTerm terminal. My current workstation setup consists of a 16" M1 Pro MacBook Pro. Install it within iTerm2 by picking ermcolors under iTerm Preferences / Profiles / Colors / Load Presets.
0 Comments
Leave a Reply. |