Revisions .bashrc Profile Configuration For Colors And Git Branch

Автор:

When in a repository directory you can show the name of the currently checked out Gitbranch in the prompt, making it easier to track where you are (and where you're about to commit).The following instructions are written for Mac OS X (Lion) or later, using a terminal with bash. However,you can use more or less the same approach on Linux, just with a different configuration file.Open the Terminal app and if the file /.bashprofile does not already exist create it with the following command.touch /.bashprofileHarry Cutts points out in the comments that you should be able to use the file /.bashrc instead to make this method applicable to Linux.Open /.bashprofile in your favorite editor and add the following content to the bottom.

.bashrc PS1 generator. Generate your.bashrc/PS1 bash prompt easily. Psp game keep freezing. 2Your selection Double-click to change the color and boldness. Drag an element. In the next few videos, we will be taking a look at how to customize our terminal with dotfiles. First, we need to understand the main dotfiles we will be working with, the.bashrc and.bash.