Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

251 B
Raw Blame
#!/usr/bin/env bash

databases=$(psql --tuples-only --command "
  SELECT
    datname
  FROM
    pg_database
  WHERE
    datistemplate = false
    AND datname like 'zed-test-%'
")

for database in $databases; do
  echo $database
  dropdb $database
done