fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
d02736c0c
master
1complete -c createdb --no-files -a'(__fish_complete_pg_database)' 2 3# Options: 4complete -c createdb -s D -l tablespace -x -d"Default tablespace for the database" 5complete -c createdb -s e -l echo -d"Show the commands being sent to the server" 6complete -c createdb -s E -l encoding -x -d"Encoding for the database" 7complete -c createdb -s l -l locale -x -d"Locale settings for the database" 8complete -c createdb -l lc-collate -x -d"LC_COLLATE setting for the database" 9complete -c createdb -l lc-ctype -x -d"LC_CTYPE setting for the database" 10complete -c createdb -s O -l owner -x -a'(__fish_complete_pg_user)' -d"Database user to own the new database" 11complete -c createdb -s T -l template -x -a'(__fish_complete_pg_database)' -d"Template database to copy" 12complete -c createdb -s V -l version -d"Output version information, then exit" 13complete -c createdb -s'?' -l help -d"Show help, then exit" 14 15# Connection options: 16complete -c createdb -s h -l host -x -a'(__fish_print_hostnames)' -d"Database server host or socket directory" 17complete -c createdb -s p -l port -x -d"Database server port" 18complete -c createdb -s U -l username -x -a'(__fish_complete_pg_user)' -d"User name to connect as" 19complete -c createdb -s w -l no-password -d"Never prompt for password" 20complete -c createdb -s W -l password -d"Force password prompt" 21complete -c createdb -l maintenance-db -x -a'(__fish_complete_pg_database)' -d"Alternate maintenance database"