How To Customize Your Bash Shell To Look Cool
Do you find bash shell “Boring” in terms of looks?
Do you feel intimidated to customize your bash shell?
Here’s some pro tips on how to customize your bash shell to look cool.
Install Oh-my-bash:
OMB will allow you to install themes and plugins on your bash shell.
To install oh-my-bash, run one of the commands below.
Via curl:
bash -c “$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"
Via wget:
bash -c “$(wget https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh -O -)”
After installing oh-my-bash you’ll see the look has already changed.
You can change themes now very easily by editing your .bashrc file.
To change the theme go to your home directory and open .bashrc file your preferred text editor.
Choose your theme from here:
Copy the name of your preferred theme and paste it here in your .bashrc file and save it.
OSH_THEME=”put your theme name here”
And run:
Source ~/.bashrc
Install sauce code pro font:
Download sauce code pro nerd font from here:
And install sauce code pro nerd font medium complete mono .
Open up your bash shell and go to preferences and add sauce code pro to custom font
Install ble.sh:
Ble.sh will give you features like syntax highlighting, auto-completion etc.
To install ble.sh run:
git clone — recursive https://github.com/akinomyoga/ble.sh.gitmake -C ble.sh install PREFIX=~/.localecho ‘source ~/.local/share/blesh/ble.sh’ >> ~/.bashrc
Restart your terminal.
Install exa, a modern replacement for “ls”.
To install exa run,
Arch Linux:
pacman -S exa
Debian/ Ubuntu:
apt install exa
Fedora:
dnf install exa
Gentoo:
emerge sys-apps/exa
Homebrew:
brew install exa
MacPorts:
port install exa
openSUSE:
zypper install exa
Lastly add these two lines in your .bashrc file
alias ll=”exa -l -g — icons”alias lla=”exa -la -g — icons”
And run:
Source ~/.bashrc
Now you have an awesome looking bash shell with cool features.