let selectedFile = await arg(
  "Search a file:",
  async input => {
    if (input?.length < 4) return []
    let files = await fileSearch(input)
    return files.map(path => {
      return {
        name: path.split("/").pop(),
        description: path,
        value: path,
      }
    })
  }
)
exec(`open ${selectedFile}`)