Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PostgreSQL completion



On Thu, Mar 6, 2008 at 4:21 AM, Chris Ross <cross+zsh@xxxxxxxxxx> wrote:


>    And, it has lots of cool stuff in it.  Sadly, I appear to have
>  forgotten enough about how to engineer the completion goo in zsh that
>  I don't know how to *use* it.  I'm running zsh 4.2, or 4.3 (different
>  on different machines), and postgres 8.2.

Try saving that file into

 /usr/share/zsh/4.?.?/functions/Completion/Unix/_psql

and rehashing (no idea if you need to do more, sorry).

As the completion is not in my Debian install, perhaps it would make
sense to add it?


Somewhat related: I have noticed quite
>
>    Is there either a more up-to-date completion set for postgres
>  command-line tools, and/or could someone give me a hand getting the
>  content in that post to work for me?
>
>    Thanks.
>
>                  - Chris
>
>



Messages sorted by: Reverse Date, Date, Thread, Author