Merge "Rename _complete-android-module-names" am: 5e5cf8e17d
am: ca97eaef00
am: 517ba66e64
Change-Id: Iad1e2fda5fb61030d91e013b08b807a16fdb5fca
This commit is contained in:
commit
f343d14efd
1 changed files with 3 additions and 3 deletions
|
@ -363,8 +363,8 @@ function addcompletions()
|
|||
fi
|
||||
complete -F _lunch lunch
|
||||
|
||||
complete -F _complete-android-module-names gomod
|
||||
complete -F _complete-android-module-names m
|
||||
complete -F _complete_android_module_names gomod
|
||||
complete -F _complete_android_module_names m
|
||||
}
|
||||
|
||||
function choosetype()
|
||||
|
@ -1535,7 +1535,7 @@ print module_info[module]['path'][0]" 2>/dev/null)
|
|||
fi
|
||||
}
|
||||
|
||||
function _complete-android-module-names() {
|
||||
function _complete_android_module_names() {
|
||||
local word=${COMP_WORDS[COMP_CWORD]}
|
||||
COMPREPLY=( $(allmod | grep -E "^$word") )
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue