File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ _comp_cmd_info()
63
63
# strip suffix from info pages
64
64
COMPREPLY=(" ${COMPREPLY[@]% .@ (gz|bz2|xz|lzma)} " )
65
65
# weed out info dir file with -X 'dir'
66
- _comp_split -l COMPREPLY " $( compgen - W ' "${COMPREPLY[@]%.*}"' -X ' @(|dir)' -- " ${cur // \\\\ / } " ) "
66
+ _comp_compgen -c " ${cur // \\\\ / } " -- - W ' "${COMPREPLY[@]%.*}"' -X ' @(|dir)'
67
67
fi
68
68
fi
69
69
} &&
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ _comp_cmd_man()
88
88
COMPREPLY=(" ${COMPREPLY[@]##*/ ?(: )} " )
89
89
# strip suffix from man pages
90
90
COMPREPLY=(" ${COMPREPLY[@]% $comprsuffix } " )
91
- _comp_split -l COMPREPLY " $( compgen - W ' "${COMPREPLY[@]%.*}"' -X ' ' -- " ${cur // \\\\ / } " ) "
91
+ _comp_compgen -c " ${cur // \\\\ / } " -- - W ' "${COMPREPLY[@]%.*}"' -X ' '
92
92
fi
93
93
fi
94
94
You can’t perform that action at this time.
0 commit comments