
_voxl-configure-vio-cams(){
	local OPTS=($(find /usr/share/modalai/vio_cam_configs -type f | while read -r FILE; do basename "$FILE" | sed 's/\(.*\)\..*/\1/'; done))
	COMPREPLY=()
	if [ "$COMP_CWORD" -eq 1 ]; then
		COMPREPLY=( $(compgen -W '${OPTS[*]}' -- ${COMP_WORDS[COMP_CWORD]}) )
		return 0
	fi
}

complete -F _voxl-configure-vio-cams voxl-configure-vio-cams
