Improve psql completions and add some related commands (#6620)

This commit is contained in:
Jan Verbeek
2020-02-28 11:16:41 +01:00
committed by GitHub
parent c0271a71d1
commit d02736c0ce
9 changed files with 235 additions and 60 deletions

View File

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