forked from colonelpanic/dotfiles
add sha, which-branch to gitconfig. add is_ssh.
This commit is contained in:
@@ -4,7 +4,7 @@ function current_directory() {
|
||||
}
|
||||
|
||||
function git_prompt_info() {
|
||||
if test -z $(parse_git_branch);
|
||||
if test -z $(git branch-or-sha);
|
||||
then
|
||||
echo ""
|
||||
else
|
||||
|
Reference in New Issue
Block a user