Skip to content

Bash script adding git status to prompt in terminal

Notifications You must be signed in to change notification settings

Gatoke/git-bash-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-bash-prompt

Bash script adding git status to prompt in terminal

Copy everything from the script to your ~/.profile file. If it doesn't work - copy it to ~/.bashrc .

To make this work in IntelliJ's (or other IDE's) terminal go to: Settings -> Tools -> Terminal and set shell path to /bin/bash --rcfile ~/.profile

no_git_repository

git_repository

git_repository

This is just my customization for Ubuntu 18.04 of https://coderwall.com/p/pn8f0g/show-your-git-status-and-branch-in-color-at-the-command-prompt

######terminal used for screenshots - tilix

About

Bash script adding git status to prompt in terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published