bash : git : fix git autocomplete rsync issue.

This commit is contained in:
Dmitry Voronin 2023-10-29 18:22:41 +03:00
parent 73554ad2e9
commit 7e441512ef

View file

@ -65,6 +65,8 @@ gu()
}
# autocomplete.
# if is a fix for rsync.
if [[ $- = *i* ]]; then
_completion_loader git
__git_complete gps _git_push
__git_complete gpsf _git_push
@ -82,6 +84,7 @@ __git_complete gf _git_fetch
__git_complete gt _git_tag
__git_complete gp _git_apply
__git_complete ga _git_add
fi
_gu()
{