Go2shell iterm25/2/2023 It runs on Zsh to provide cool features configurable within the ~/.zhrc config file. Let’s install zsh using brew and make iTerm2 use it. Zsh is a shell designed for interactive use, although it is also a powerful scripting language.īy default, macOs ships with zsh located in/bin/zsh. You can integrate zsh into iTerm2 to increase productivity. Most software engineers prefer iTerm2 over the default terminal that ships with macOS as a result of its cool features. ITerm2 is a replacement for terminal and the successor to iTerm. You skip this by running the command sudo su, then the command or as suggested Xcode-select: error: -reset must be run as root (e.g. r, -reset reset to the default command line tools path v, -version print the xcode-select version install open a dialog for installation of the command line developer tools s, -switch set the path for the active developer directory p, -print-path print the path of the active developer directory h, -help print this help message and exit Xcodebuild) as well as the BSD development commands (such as cc and make). This directoryĬontrols which tools are used for the Xcode command line tools (for example, Print or change the path to the active developer directory. Xcode-select: error: invalid argument '-install' On my first run I received the following error If you get an error, run xcode-select -r to reset xcode-select. ![]() Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple’s macOS.īefore installing Homebrew, we need to install the CLI tools for Xcode. In this article, I'll run through how to configure iTerm2 with ZSH and its dependencies. I’ve written another article on how to setup NVM on your system to switch and maintain multiple Node.js installations easily.Z shell (Zsh) is a Unix shell built on top of bash (the default shell for macOS) with a large number of improvements. Now you’ve installed and configured a good starting point. It’s worth reading the description for each plugin, because you may end up with being even more productive. So take a minute and read through the descriptions of those plugins before enabling them. Plugins can either extend the auto-completion tab, create new key bindings or create new aliases within your terminal. zshrc file and look for plugins=(), once you find that line, list all plugins you want to use within the braces as shown here: plugins=(git bower sublime brew history node npm sudo web-search). I use only a few plugins to keep things simple. ![]() To enable them, you’ve to list them inside of your. By default, those plugins were not enabled. Their documentation on GitHub is listing which plugins were currently part of the release. OH-MY-ZSH ships with support for plugins. ![]() I’ve chosen 11pt as font-size for my setup, so apply PowerLine for Regular Font and Non-ASCII Font by clicking each Change Font button and select the PowerLine font. You can download the font from here, install this font on your system and then apply it in iTerm2 through For example, it’s displaying branches in the following way Powerline font is responsible for bringing some kind and helpful icons to the terminal. After installation has finished open ~/.zshrc in any editor and set the theme for ZSH ZSH_THEME="agnoster".
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |