Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Using custom completion...
- X-seq: zsh-users 10098
- From: "Christopher Browne" <cbbrowne@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Using custom completion...
- Date: Tue, 28 Mar 2006 23:47:27 +0000
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Epvn7Jk53I1EwxMsC1RrABx2hHWw1IU7sRTVcwKy9GNT+DknmcHZOjqjOjM9slmYmkrLKA+pUrqmu+blJyeBaMg7v5oEXwkm6Zzxq1frAII9pYQTO05vdUs9gO3worZ66RxTVxdQ0RBOxrln7zUoZQ/+IWdK6CWMs1p9DpGtUg8=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Dominic Mitchell had set up a sample completion for psql:
http://www.zsh.org/mla/users/2004/msg01006.html
[it's pretty obvious which bits are script, and which aren't]
I'm not entirely sure what I need to do to get it operating.
It appears as though an appropriate place to stow it on my system is thus:
/usr/share/zsh/4.3.2/functions/Completion/Unix/_psql
I'm not sure if I need to run anything extra to get it to be noticed;
it doesn't seem to be turning quite right, as I'm seeing ill output:
_arguments:comparguments:208: invalid argument:
cbbrowne@dba2:~>
I'd be more than happy to help contribute whatever assistance to
getting bits of it working that I can; I'm in a pretty "psql-happy"
environment, so improving globbing on this is no bad thing ;-).
--
http://www3.sympatico.ca/cbbrowne/linux.html
"The true measure of a man is how he treats someone who can do him
absolutely no good." -- Samuel Johnson, lexicographer (1709-1784)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author