File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 1212
1313eval " function __bak_comp_compgen_filedir() { $( declare -f _comp_compgen_filedir | tail -n +2) }"
1414eval " function __bak_comp_compgen_filedir_xspec() { $( declare -f _comp_compgen_filedir_xspec | tail -n +2) }"
15+ eval " function __bak_comp_complete_minimal() { $( declare -f _comp_complete_minimal | tail -n +2) }"
16+ eval " function __bak_comp_expand_glob() { $( declare -f _comp_expand_glob | tail -n +2) }"
1517
1618# replace _comp_compgen_filedir
1719_comp_compgen_filedir () {
@@ -24,6 +26,16 @@ _comp_compgen_filedir_xspec() {
2426 _pinyin_completion " $@ "
2527}
2628
29+ _comp_complete_minimal () {
30+ __bak_comp_complete_minimal " $@ "
31+ _pinyin_completion " $@ "
32+ }
33+
34+ _comp_expand_glob () {
35+ __bak_comp_expand_glob " $@ "
36+ _pinyin_completion " $@ "
37+ }
38+
2739_pinyin_completion () {
2840 local cur=" ${COMP_WORDS[COMP_CWORD]} "
2941
You can’t perform that action at this time.
0 commit comments