Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 730 Bytes

File metadata and controls

13 lines (11 loc) · 730 Bytes

rainbow bash logoRainbow Bash

This bash script overrides clear, so when you call clear in shell, it displays the date, moving back and forth, and padded with less and greater than symbols. The reason was just to have some fun and learn more about writing shell scripts.

rainbow bash gif

Installation

Copy the script to your home directory, and add an entry in your ~/.bashrc.

curl https://raw.githubusercontent.com/DrewBro-Designs/bash_fun/master/rainbow_bash.sh > ~/.rainbow_bash.sh && echo ". ~/.rainbow_bash.sh" >> ~/.bashrc

Usage

Make sure to source your bash bashrc source ~/.bashrc, and checkout the rainbow magic when you run clear.