Linux termial and prompt customization

Dec 5, 2022 min read

Enter the following command to install oh my bash

bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"

Install exa for beautifiying some output.

sudo apt install exa

Edit .bashrc

In the .bashrc file change theme according to your favorable theme choosen from here

OSH_THEME="kitsune"

Install nerd font

Download, extract the zip and install nerd font from here. I use DejaVuSansMono

Add alias in .bashrc for exa

alias ls='exa -al --color=always --group-directories-first --icons' # preferred listing
alias la='exa -a --color=always --group-directories-first --icons'  # all files and dirs
alias ll='exa -l --color=always --group-directories-first --icons'  # long format
alias lt='exa -aT --color=always --group-directories-first --icons' # tree listing
alias l.="exa -a | egrep '^\.'"                                     # show only dotfiles
alias ip="ip -color"

Install terminal color palet.

Check out your preferable theme from here

Change terminal font (Monospace font) from system settings like this \

font

Enjoy your new Terminal and Prompt