Changeset 84db778 for perl/lib


Ignore:
Timestamp:
Jul 28, 2009, 11:15:43 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
d77e909
Parents:
57ba9f1
git-author:
Nelson Elhage <nelhage@mit.edu> (07/28/09 00:21:20)
git-committer:
Nelson Elhage <nelhage@mit.edu> (07/28/09 23:15:43)
Message:
'subscribe' doesn't actually understand -r

Arguably it should, but until it does, tab-completion probably shouldn't
lie.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Complete/Zephyr.pm

    r8f16dcd r84db778  
    3030}
    3131
    32 sub complete_sub {
    33     my $ctx = shift;
    34     return complete_flags($ctx,
    35         [],
    36         {
    37             "-r" => \&complete_realm,
    38         });
    39 }
    40 
    4132sub on_message {
    4233    my $m = shift;
     
    5041BarnOwl::Completion::register_completer(zcrypt    => \&complete_zwrite);
    5142
    52 # TODO: Handle aliases transparently in the core completion code?
    53 BarnOwl::Completion::register_completer(sub       => \&complete_sub);
    54 BarnOwl::Completion::register_completer(subscribe => \&complete_sub);
    55 
    5643$BarnOwl::Hooks::newMessage->add("BarnOwl::Complete::Zephyr::on_message");
    5744
Note: See TracChangeset for help on using the changeset viewer.