
_voxl-configure-extrinsics(){
	local OPTS=($(find /usr/share/modalai/extrinsic_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-extrinsics voxl-configure-extrinsics
