Skip to content

Commit

Permalink
refactor(povray): use exit status of generators
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga authored and scop committed Jan 3, 2024
1 parent 0a240bd commit 8f2af29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions completions/povray
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ _comp_cmd_povray()
[-+]I*)
cur="${povcur#[-+]I}" # to confuse _comp_compgen_filedir
pfx="${povcur%"$cur"}"
_comp_compgen_filedir pov
((${#COMPREPLY[@]})) &&
_comp_compgen_filedir pov &&
_comp_compgen -Rv COMPREPLY -- -P "$pfx" -W '"${COMPREPLY[@]}"'
return
;;
Expand Down

0 comments on commit 8f2af29

Please sign in to comment.