completion/git_flow_avh: use `_command_exists`

pull/1938/head
John D Pell 2021-09-11 17:35:24 -07:00
parent 757a5bf25b
commit 5eccc59d27
1 changed files with 2 additions and 1 deletions

View File

@ -505,6 +505,7 @@ __git_flow_list_branches ()
} }
# alias __git_find_on_cmdline for backwards compatibility # alias __git_find_on_cmdline for backwards compatibility
if [ -z "`type -t __git_find_on_cmdline`" ]; then if ! _command_exists __git_find_on_cmdline
then
alias __git_find_on_cmdline=__git_find_subcommand alias __git_find_on_cmdline=__git_find_subcommand
fi fi