Contents

Linux termial and prompt customization

Contents

Enter the following command to install oh my bash

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

Install exa for beautifiying some output.

1
sudo apt install exa

Edit .bashrc

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

1
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

1
2
3
4
5
6
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 \

/posts/customizing-terminal/font.png

Enjoy your new Terminal and Prompt