

The "oh-my-zsh" plugins add new functionalities to your iTerm terminal. In the picture below, you can see my terminal.Ĭan we agree that it looks a lot better than the default macOS terminal? oh-my-zsh Plugins Once the import finishes, you can click on "Color Presets" and choose any color scheme. ( iTerm2 > Preferences > Profiles > Colors > Color Presets)Ĭlick on the "Import" option and then import all the files from the "iTerm2-Color-Schemes/ schemes" folder (it's the folder you downloaded earlier). Then go to the "Profiles" tab and the "Colors" tab.Ĭlick on "Color Presets" and a drop-down appears where you should see an option called Import.
Iterm save session download#
You can download all the available iTerm2 color schemes as follows: git clone Īfter downloading them, go to the iTerm preferences. Looking at the newly customized terminal, you might observe that the colors combination is not the best. Phew, we are almost done! The last step is to customize iTerm's color scheme. Now the terminal shows your name without the IP address. zshrc and add the following line at the end of the file: prompt_context(). If you open the terminal, you should see something similar to the image below.īut if you are like me, you might not like seeing your name and the IP address. Once there, choose the font Meslo LG L DZ for Powerline, and you are done - the "agnoster" theme works now.
Iterm save session install#
You can install them by running these commands in your terminal: git clone Īfter that, open the iTerm terminal, go to the "Preferences" and click on the "Profiles" tab ( iTerm2 > Preferences > Profiles).

Let's solve the problem by installing the powerline fonts.

If you choose to use this theme, you need a particular font that supports the characters used by the theme.įigure 3 illustrates how it looks without such a font. One example of such a theme is the agnoster theme. Some themes require particular fonts to work. zshrc file, restart your terminal and the changes should be visible! oh-my-zsh Agnoster Theme Replace the value "robbyrussell" with a theme you prefer from the wiki.Īfter updating the value, save the. zshrc file in your favorite editor and find the field called ZSH_THEME. That's where you can change the theme or manage your plugins. Whenever you want to make changes to your terminal, you do it in the. But the fun only begins now! You can install themes and plugins to further customize your terminal. You can stop here and leave it like that if you are happy with it. Once the installation finishes, you should see an improved terminal.Īs you can see, the terminal has a better look already. If you want to use wget or fetch, replace the word curl with your preferred choice. Open the newly installed terminal - iTerm, and run: sh -c "$(curl -fsSL )" You can install oh-my-zsh by using either curl, wget or fetch. You can now move on to the next step - installing "oh-my-zsh". Open the "Launchpad" or the "Application" folder on your Mac, and you should see the application "iTerm". If you choose the "brew" command, open your terminal and enter: brew install -cask iterm2Īfter the installation finishes, you can use the new terminal right away. You can install iTerm2 by downloading it from the official website or by using the "brew" command. You can think of "iTerm2" as a supercharged terminal. These features are super handy when you work with the terminal every day.

If you already have them, you can skip this section. Pre-requisitesīefore going further, you should have homebrew and zsh installed on your machine. They also bring additional, useful functionalities that enhance your workflow and productivity. These two tools improve the look and feel of the terminal.
Iterm save session how to#
In this article, you will learn how to do that with the help of iTerm2 and oh-my-zsh. I mean, look at it! It does not look very exciting.įortunately, there are tools to improve the terminal and experience considerably. The default macOS terminal looks outdated and it also lacks many features. If you are using the default terminal on macOS and reading this article, chances are you are dissatisfied with it.
