Thanks to visit codestin.com
Credit goes to github.com

Skip to content

toringe/gurubash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Guru Bash

Are you pining for the good old days? Why not implement some nostalgia in your bash scripts with my Guru Mediation style error messages.

The script will default detect your terminal width and adjust the error message accordingly. Alternatively, you may set a static value to the "width" variable to get a fixed width.

Example

!/bin/bash
source "guru.sh"
if [ <error condition> ]; then
  # Display Guru Meditation error with the error code of 123
  guru 123
fi

About

Guru Meditation errors in Bash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages