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()
6363 # strip suffix from info pages
6464 COMPREPLY=(" ${COMPREPLY[@]% .@ (gz|bz2|xz|lzma)} " )
6565 # 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)'
6767 fi
6868 fi
6969} &&
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ _comp_cmd_man()
8888 COMPREPLY=(" ${COMPREPLY[@]##*/ ?(: )} " )
8989 # strip suffix from man pages
9090 COMPREPLY=(" ${COMPREPLY[@]% $comprsuffix } " )
91- _comp_split -l COMPREPLY " $( compgen - W ' "${COMPREPLY[@]%.*}"' -X ' ' -- " ${cur // \\\\ / } " ) "
91+ _comp_compgen -c " ${cur // \\\\ / } " -- - W ' "${COMPREPLY[@]%.*}"' -X ' '
9292 fi
9393 fi
9494
You can’t perform that action at this time.
0 commit comments