2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-23 10:15:08 +00:00
fish-shell/share/functions/__fish_complete_pg_database.fish

4 lines
101 B
Fish
Raw Normal View History

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