Now you should have a beautiful terminal that you will love.ITerm is basically a better terminal with configurable options. #ITERM THEMES ZSH UPDATE#Once you are done with this, save the file and update the changes by running the command: source ~/.zshrc You can look the features that you can change here. I am just customizing the left prompt for what I like. Add following lines: POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh dir dir_writable vcs) Open your zsh configuration: open ~/.zshrcĪfter the theme option. So, if you would like to customize how the prompts look. Some people like the information provided and how it looks. You will have prompts appearing on both sides of the terminal. Customizing promptīy the time you finish this setup. Ligatures are really cool features of fonts, Fira code is an open source font that supports ligatures. If your font supports ligatures, check the “Use ligatures” option to enable ligature in your terminal. Change the font from preferences menu to the font you just downloaded. #ITERM THEMES ZSH INSTALL#Download a preferred font from powerline fonts and install it. Extract the zip file.įor the next step, go to the colors inside profiles from preferences and import the color schemes by clicking on Color Presets. #ITERM THEMES ZSH ZIP FILE#Go ahead and download the zip file of Color Schemes. To change the colors and appearance, you can navigate to Preferences > Profiles > Colors and play around with colors or you can use pre-built color scheme. Save the file and update your changes by running this command: source ~/.zshrc Once the file is open, replace the existing theme with powerlevel9k, by editing this line: ZSH_THEME="powerlevel9k/powerlevel9k" Open the zsh configuration using the command: open ~/.zshrc Once the themes are cloned, go ahead and update your zsh configuration to change the theme to powerlevel9k. Let’s clone the repository: $ git clone ~/.oh-my-zsh/custom/themes/powerlevel9k One of the most popular custom theme for zsh is powerlevel9k. But to built a powerful and beautiful looking terminal you will need to use a custom theme. Oh My Zsh by default comes with lots of themes (default being: robbyrussell). You can change between prebuilt theme. Now, restart your terminal and you are good to go. Install Oh My Zsh using this command: sh -c "$(curl -fsSL )" Oh My Zsh is a framework for managing your zsh configuration. But if your system doesn’t have the zsh configuration, we will need to install it for the next steps to follow. MacOS ships with zsh by default and you don’t need to do anything. Install the iTerm2 using the command: brew cask install iterm2 3. Iterm contains much better features compared to the default terminal in macOS and most programmers prefer using it. Otherwise you can go ahead and install homebrew using the command below. If you are already working with terminal for some time and been into programming, you most likely have Homebrew installed. Let’s take a look at how we can setup our terminal that gives us the information we need and helps us with the productivity all packed in a attractive appearance. Zsh has huge number of features and when combined with iterm it becomes a beast for programming and productivity. Zsh also known as Z Shell is a shell built on top of the default shell for macOS(bash). The default terminal is just plain ordinary and doesn’t help you at all with limited information and blant design. Programing requires you to frequently use the terminal to perform many actions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |