fish-shell/share/functions/__fish_complete_pg_user.fish

3 lines
105 B
Fish

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