Last active
July 26, 2022 13:48
-
-
Save d4rk5eed/d1651aa46e42d91ef96f to your computer and use it in GitHub Desktop.
Revisions
-
d4rk5eed revised this gist
Sep 26, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,8 @@ How to make prompt with git branch in bash gentoo 1. emerge app-shells/bash-completion 2. $ find /usr -name git-prompt.sh.bz2 /usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 3. cp /usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 ~ 4. bunzip2 git-prompt.sh.bz2 5. mv git-prompt.sh .git-prompt.sh -
d4rk5eed revised this gist
Sep 26, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ How to make prompt with git branch in bash gentoo 1. emerge app-shells/bash-completion 2. $ find /usr -name git-prompt.sh.bz2 /usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 3. cp /usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 ~ 4. bunzip2 git-prompt.sh.bz2 5. mv git-prompt.sh .git-prompt.sh -
d4rk5eed revised this gist
Sep 26, 2014 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,6 @@ How to make prompt with git branch in bash gentoo 1. emerge app-shells/bash-completion 2. $ find /usr -name git-prompt.sh.bz2 /usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 3. cp /usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 ~ 4. bunzip2 git-prompt.sh.bz2 -
d4rk5eed revised this gist
Sep 26, 2014 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,7 @@ How to make prompt with git branch in bash gentoo 1. emerge app-shells/bash-completion 2. $ find /usr -name git-prompt.sh.bz2 /usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 3. cp /usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 ~ 4. bunzip2 git-prompt.sh.bz2 -
d4rk5eed revised this gist
Sep 26, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,3 +18,5 @@ How to make prompt with git branch in bash gentoo export GIT_PS1_SHOWDIRTYSTATE=1 source ~/.git-prompt.sh Use **GIT_PS1_SHOWDIRTYSTATE** for enabling/disabling unmerged code in repository checking. -
d4rk5eed revised this gist
Sep 26, 2014 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,12 +9,12 @@ How to make prompt with git branch in bash gentoo 5. mv git-prompt.sh .git-prompt.sh 6. Paste into ~/.bashrc # Bash completion if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[01;33m\]$(__git_ps1)\[\033[01;34m\] \$\[\033[00m\] ' export GIT_PS1_SHOWDIRTYSTATE=1 source ~/.git-prompt.sh -
d4rk5eed created this gist
Sep 26, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ How to make prompt with git branch in bash gentoo ================================================= 1. emerge app-shells/bash-completion 2. $ find /usr -name git-prompt.sh.bz2 /usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 3. cp /usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 ~ 4. bunzip2 git-prompt.sh.bz2 5. mv git-prompt.sh .git-prompt.sh 6. Paste into ~/.bashrc # Bash completion if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[01;33m\]$(__git_ps1)\[\033[01;34m\] \$\[\033[00m\] ' export GIT_PS1_SHOWDIRTYSTATE=1 source ~/.git-prompt.sh