completion/git_flow_avh: use `_command_exists`
parent
757a5bf25b
commit
5eccc59d27
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue