completion/git_flow_avh: use _command_exists
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user