if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
export PS1='\h:\u:\w $(__git_ps1 "(%s) ")'
fi
-- Thanks & Regards Linux Developer: Devil Wang <wxje...@gmail.com> |
Git has been integrated with Emacs.
Think about it, is there anything can not be done?
Emacs + git = everything.
git是好东西啊!!!