1
0
Fork 0

bash_completion _completion_loader call reordering

Was failing on certain systems.
master
Mike Gerwitz 2015-01-09 00:33:07 -05:00
parent 901b8d36f9
commit b680a66c64
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 5 additions and 4 deletions

View File

@ -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