Skip to content

Commit

Permalink
fix(povray): quote an argument properly
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga authored and scop committed Jan 3, 2024
1 parent 398e3a8 commit 0a240bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/povray
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ _comp_cmd_povray()
done
cur="${povcur#[-+]O}" # to confuse _comp_compgen_filedir
pfx="${povcur%"$cur"}"
_comp_compgen -a filedir $oext
_comp_compgen -a filedir "$oext"
((${#COMPREPLY[@]})) &&
_comp_compgen -Rv COMPREPLY -- -P "$pfx" -W '"${COMPREPLY[@]}"'
return
Expand Down

0 comments on commit 0a240bd

Please sign in to comment.