bash-completion.sh
branchv_0
changeset 30 02972f051744
parent 29 dc3c102e1264
--- a/bash-completion.sh	Wed Dec 27 01:50:38 2023 +0100
+++ b/bash-completion.sh	Wed Dec 27 10:34:12 2023 +0100
@@ -33,7 +33,7 @@
 		"fragment"
 	)
 
-	if   [[ "$w1" == "--texture" ]]; then
+	if [[ "$w1" == "--document" ]]; then
 		COMPREPLY=($(compgen -f -- "$w0"; compgen -d -S / -- "$w0"))
 	elif [[ "$w1" == "--shader" ]]; then
 		COMPREPLY=($(compgen -W "${SHADER_TYPE[*]}" -- "$w0"))
@@ -43,7 +43,7 @@
 		COMPREPLY=($(compgen -W "${COLOR[*]}" -- "$w0"))
 	else
 		local OPTIONS=(
-			"--texture"
+			"--document"
 			"--shader"
 			"--background-color"
 			"--root-window"