mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-09 21:26:14 +03:00
93bcde953c
This way, completions are dealt with more consistently with code actions, and the logic is not spread across so many places. The `language::File` trait and the multibuffer no longer need to deal with completions. Completions are no longer generic over an anchor type.
16 lines
243 B
Bash
Executable File
16 lines
243 B
Bash
Executable File
#!/bin/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 |