mirror of https://github.com/bjeanes/dotfiles.git
6 lines
149 B
Fish
6 lines
149 B
Fish
|
function __db_list_pg
|
||
|
psql -c '\l' -t -A -F, | cut -d, -f1 | grep -E -v '^(postgres|template)'
|
||
|
__db_list_web | grep -E '^postgres' | cut -f2
|
||
|
|
||
|
end
|