mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 02:37:05 +00: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
No EOL
243 B
Bash
Executable file
16 lines
No EOL
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 |