File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ _comp_cmd_dnssec_keygen()
3939 if [[ $cur == -* ]]; then
4040 _comp_compgen -R help
4141 (( ${# COMPREPLY[@]} )) &&
42- _comp_compgen -- -W ' $(printf "%s\n" "${COMPREPLY[@]}" |
43- command sed -e "s/:\$//")'
42+ _comp_compgen -- -W ' "${COMPREPLY[@]%:}"'
4443 return
4544 fi
4645} &&
Original file line number Diff line number Diff line change @@ -82,8 +82,7 @@ _comp_cmd_links()
8282 if [[ $cur == -* ]]; then
8383 _comp_compgen -R help
8484 (( ${# COMPREPLY[@]} )) &&
85- _comp_compgen -- -W ' $(printf "%s\n" "${COMPREPLY[@]}" |
86- command grep -vF -- "->")'
85+ _comp_compgen -- -W ' "${COMPREPLY[@]}"' -X " ->"
8786 return
8887 fi
8988
Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ _comp_cmd_zopfli()
1414 if [[ $cur == -* ]]; then
1515 _comp_compgen -R help -- -h
1616 (( ${# COMPREPLY[@]} )) &&
17- _comp_compgen -- -W ' $(printf "%s\n" "${COMPREPLY[@]}" |
18- command sed -e "s/#$//")' -- " $cur "
17+ _comp_compgen -- -W ' "${COMPREPLY[@]%#}"'
1918 [[ ${COMPREPLY-} == --i ]] && compopt -o nospace
2019 return
2120 fi
You can’t perform that action at this time.
0 commit comments