bash_completion _completion_loader call reordering
Was failing on certain systems.master
parent
901b8d36f9
commit
b680a66c64
|
@ -20,10 +20,6 @@
|
|||
|
||||
declare -r __git_short_path="${1:-$(pwd)/shortmaps}"
|
||||
|
||||
# some distros use completion lazy-loading
|
||||
type -t _completion_loader &>/dev/null \
|
||||
&& _completion_loader git
|
||||
|
||||
|
||||
__git-short_cmdok()
|
||||
{
|
||||
|
@ -166,3 +162,8 @@ while read shortcmd comp cmd; do
|
|||
__git-short_register_alias "$shortcmd"
|
||||
done < <( __git-short_load_maps "$__git_short_path" )
|
||||
|
||||
|
||||
# some distros use completion lazy-loading
|
||||
type -t _completion_loader &>/dev/null \
|
||||
&& _completion_loader git
|
||||
|
||||
|
|
Loading…
Reference in New Issue