git:bash-prompt
Toto je starší verze dokumentu!
Pridani branche do bash prompt
http://stackoverflow.com/questions/15883416/adding-git-branch-on-the-bash-command-prompt
- stahnout git-prompt.sh do ~/.git-prompt.sh
- do .bashrc pridat
source ~/.git-prompt.sh PS1='[\u@\h \W]:$(__git_ps1 "(%s)")\$'
git/bash-prompt.1470735498.txt.gz · Poslední úprava: 2016/08/09 09:38 autor: nost23