mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Merge 4644548906 into 3d5b3430fd
This commit is contained in:
commit
9be7ea65f1
1 changed files with 7 additions and 0 deletions
|
|
@ -7,6 +7,13 @@ function git_prompt_info() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function git_cygwin_prompt_info_quick() {
|
||||||
|
ref=$(git symbolic-ref HEAD 2> /dev/null)
|
||||||
|
if [[ "${ref}" != "" ]]; then
|
||||||
|
echo "git:${ref#refs/heads/}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Checks if working tree is dirty
|
# Checks if working tree is dirty
|
||||||
parse_git_dirty() {
|
parse_git_dirty() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue