fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Jan VerbeekImprove psql completions and add some related commands (#6620)d02736c0c

master
991 B16 linesraw
1complete -c dropdb --no-files -a '(__fish_complete_pg_database)'
2
3# Options:
4complete -c dropdb -s e -l echo -d "Show the commands being sent to the server"
5complete -c dropdb -s i -l interactive -d "Prompt before deleting anything"
6complete -c dropdb -s V -l version -d "Output version information, then exit"
7complete -c dropdb -l if-exists -d "Don't report error if database doesn't exist"
8complete -c dropdb -s '?' -l help -d "Show help, then exit"
9
10# Connection options:
11complete -c dropdb -s h -l host -x -a '(__fish_print_hostnames)' -d "Database server host or socket directory"
12complete -c dropdb -s p -l port -x -d "Database server port"
13complete -c dropdb -s U -l username -x -a '(__fish_complete_pg_user)' -d "User name to connect as"
14complete -c dropdb -s w -l no-password -d "Never prompt for password"
15complete -c dropdb -s W -l password -d "Force password prompt"
16complete -c dropdb -l maintenance-db -x -a '(__fish_complete_pg_database)' -d "Alternate maintenance database"