mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
Improve psql completions and add some related commands (#6620)
This commit is contained in:
3
share/functions/__fish_complete_pg_database.fish
Normal file
3
share/functions/__fish_complete_pg_database.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function __fish_complete_pg_database
|
||||
psql -AtqwlF \t 2>/dev/null | awk 'NF > 1 { print $1 }'
|
||||
end
|
||||
Reference in New Issue
Block a user