🧑‍💻 Adding Personality to the Terminal
by Aayush Sahay
Using the terminal as-is can be a bit of a dull experience. For instance, this is how you’d interact with the CLI on a fresh Linux Mint installation.
It’s very basic, and it wouldn’t hurt to add a little personality to it. So, let’s do just that…
Install Nerd Fonts
This is crucial for making the terminal experience better. I use these fonts in multiple tool’s configurations (see below) to make sure fonts on the terminal remain uniform. It involves a couple of steps which aren’t straight forward if you’re new to this.
Use a better terminal emulator - Alacritty
The default terminal emulator for any distro depends on the desktop environment.
| Desktop Environment | Default Terminal Emulator |
|---|---|
| GNOME | GNOME Terminal |
| KDE | Konsole |
| XFCE | Xfce Terminal |
| LXDE / LXQt | LXTerminal |
They get the job done, but I prefer Alacritty. There are two reasons: great default settings (so I don’t have to change much) and the ability to configure everything using a TOML file. The TOML file should be located in the users config directory - ~/.config/alacritty/alacritty.toml. I have uploaded my Alacritty config file in my public Github repo so I can access it from anywhere. Below, you can see how Alacritty looks out of the box, and later, how it looks after a few configuration changes.
Customize the prompt - Oh My Posh
There are other modern, customizable prompts out there, but my favourite by far is Oh My Posh. It comes with a bunch of great themes, and I personally prefer Catppuccin, since it’s one of those themes that’s available for multiple tools such as TMUX and NeoVim.
You can find a list other Oh My Posh themes here.
In case you’re not happy with the themes that Oh My Posh offers, here are some alternatives for the bash shell:
Customize TMUX
Finally, it’s time for TMUX. TMUX is THE most important tool for me. It’s not awful to look at but few little changes can make it look way better. It’s one of those tools that has a whole ecosystem around it. It has plugin manager called TPM. Once it’s installed, you can start adding plugins such as a theme plugin called Catppuccin. You will have to do this via the TOML configuration file. Let me show you how.
You can find a list other TMUX themes here.
That’s it
By following 4 simple steps, you can change the look and feel of your terminal. In the next post, I’ll present the challenge you will face setting up CLI essentials along with all these customizations on different Linux distributions.
tags: Linux - Terminal - Alacritty - TMUX