fish-shell/share/functions/__fish_complete_pg_user.fish

4 lines
105 B
Fish

function __fish_complete_pg_user
psql -Atqwc 'select usename from pg_user' template1 2>/dev/null
end