2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-22 17:55:11 +00:00
fish-shell/share/functions/__fish_complete_pg_database.fish

3 lines
101 B
Fish

function __fish_complete_pg_database
psql -AtqwlF \t 2>/dev/null | awk 'NF > 1 { print $1 }'
end