Skip to content

Pascal-So/bashprompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

bashprompt

This will print a bashprompt similar to this:

(3s) pascal@dell-laptop (master) ~/dev/bashprompt $

where 3s is the runtime of the last command and master is the current git branch.

The displaycolor for the user and hostname can be adjusted here:

USER_COLOR=$BLUE
ROOT_COLOR=$RED
HOST_COLOR=$BLUE

Installation:

Add this line at the end of your ~/.bashrc:

source /path/to/bashprompt.sh

About

A bash script to generate a pretty bash prompt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages