If you want to learn how to add yum repositories to your system, read How to add a Yum repository. Note: I’m using a CentOS 8 computer, but this technique will work on any Red Hat-based system. Depending on which particular distribution you have, you might need to install the Extra Packages for Enterprise Linux (EPEL) repo. If you’ve followed my article on how to open a Linux terminal and set up a keyboard shortcut, launch the gnome-terminal emulator using your keyboard shortcut (in my case, it is Ctrl+Alt+T). I will also show you how to install a terminal emulator from gnome-terminal. Konsole is the default terminal emulator in the K Desktop Environment (KDE). I will install the Konsole terminal emulator for this article. Irrespective of what flavor of Linux you’re using, the process of installing an additional terminal emulator should be the same. In this article, I will show you how to install an additional terminal emulator and see how it works.įor this article, I’m working on CentOS 8 machine with the Gnome desktop environment. In my previous article, " How to open a Linux terminal," you learned how to open a Linux terminal window and create a shortcut for easy access. How well do you know Linux? Take a quiz and get a badge.Linux system administration skills assessment.A guide to installing applications on Linux.Download RHEL 9 at no charge through the Red Hat Developer program.Now you should have a beautiful terminal that you will love. 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. Optional quake mode (terminal docked to a side of the screen) Optional global hotkey to focus/hide the terminal. Tabby remembers open tabs and panes where you left off. So, if you would like to customize how the prompts look. Progress bars and activity notifications for tabs. 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. 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. 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). 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. |