![]() These features are super handy when you work with the terminal every day. You can think of "iTerm2" as a supercharged terminal. You can install iTerm2 by downloading it from the official website or by using the "brew" command. 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. Open the "Launchpad" or the "Application" folder on your Mac, and you should see the application "iTerm". You can now move on to the next step - installing "oh-my-zsh". 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. If you want to use wget or fetch, replace the word curl with your preferred choice. Once the installation finishes, you should see an improved terminal.Īs you can see, the terminal has a better look already. ![]() You can stop here and leave it like that if you are happy with it. But the fun only begins now! You can install themes and plugins to further customize your terminal. Whenever you want to make changes to your terminal, you do it in the. ![]() That's where you can change the theme or manage your plugins. zshrc file in your favorite editor and find the field called ZSH_THEME. 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. Some themes require particular fonts to work. One example of such a theme is the agnoster theme. 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. Let's solve the problem by installing the powerline fonts. 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). Once there, choose the font Meslo LG L DZ for Powerline, and you are done - the "agnoster" theme works now. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |