Skip to content

Videra/bash-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Git bash-prompt Git bash prompt with personal customizations

Forked from: https://github.com/magicmonty/bash-git-prompt

##Example alt tag

##Features

  • Terminal title displays username@hostname
  • Time
  • Red for root, green for normal users
  • cd includes ls (only in interactive prompts)
  • git information (only in git folders)
  • Red x if the last terminal command fails

##Installation

sudo mkdir /usr/local/scripts
sudo git clone https://github.com/DavidPrada/bash-prompt /usr/local/scripts/bash-prompt
echo -e "\nsource /usr/local/scripts/bash-prompt/gitprompt.sh\n" >> ~/.bashrc
echo -e "\nsource /usr/local/scripts/bash-prompt/gitprompt.sh\n" | sudo tee -a /root/.bashrc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages