From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27118 invoked by alias); 3 Oct 2012 14:38:14 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30714 Received: (qmail 27412 invoked from network); 3 Oct 2012 14:38:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_NONE, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at yahoo.co.uk does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1349275086; bh=SWoSpXQN94iOCzTtrepbXuKu63xA6hcCEbMoSHR9RPE=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:From:To:Subject:MIME-Version:Content-Type:Content-ID:Date:Message-ID; b=JYrhGCnsKweA1dh9Qgy1+roNUDATbN95HkuW7meTD8tdjVK7b8YJGJ5G1WlcVgzy0yPCaftxVEsTTWDPjsqQki0ZhzNx/WJyITKApfCmgJD78ivAevAu4dx5GJfL28AymO7dKTiXDTfByWJX1m7TrvBRWEo+BcU3/OL+c8EpIsQ= X-Yahoo-Newman-Id: 721999.94364.bm@smtp140.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: CLze0DsVM1mcs7mvEcukjLfiyPXmbEf7Miu7SdUs_0zkryy CXyw8VWxMASf7In7TbrBNN3kSBQhLeauPL9x3zYGT_AxccblxTeeKd4Gj23. c_Eca_tdc9SzM7SKLdoUKkhg7azUUrexjQTiKCjIDnohZNs8YWvFt0w5ejys 7dfYjVXWeOqu62O3UZD5CtHthoFADW.XKMJwbW80G_RJ7rM3dT2SFB4kd6H_ hBv.UmDS5cibFC0QNJtwVZovSh39T2Lgx0R95WYN8swZmfriBHmCj0Zst196 2ssS4.1rv1RPO.VNQ66_2sH3DP5HuCHe3YHGf.XNGlitnMXR0k7rUGsGl5Mw 2gpX6MhE90B44SZo0QHBpuonJTTdnfYKkS446.iMhU2scAdaHNWcWAEXg58y iXnJGjD1tN_TRJ90YJvGarzCRXHDnMZWbKicw5wpM X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- From: Oliver Kiddle To: Zsh workers Subject: PATCH: xclip completion MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <875.1349275084.1@thecus.kiddle.eu> Date: Wed, 03 Oct 2012 16:38:05 +0200 Message-ID: <876.1349275085@thecus.kiddle.eu> The xclip completion wasn't completing files and it will take input from listed files instead of standard input. This also adds the -t and -f options. Oliver Index: Completion/X/Command/_xclip =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/X/Command/_xclip,v retrieving revision 1.1 diff -u -r1.1 _xclip --- Completion/X/Command/_xclip 22 Jan 2012 20:04:01 -0000 1.1 +++ Completion/X/Command/_xclip 3 Oct 2012 14:35:32 -0000 @@ -1,14 +1,17 @@ #compdef xclip _arguments \ - '(-i -in -o -out)'{-i,-in}'[Read text into X selection]' \ - '(-i -in -o -out)'{-o,-out}'[Print selection to standard out]' \ - {-l,-loops}'[Number of selection requests to wait before exiting]:number:' \ - {-d,-display}'[X display to connect to]:X11 display:' \ - '(-)'{-h,-help}'[Usage information]' \ - '(-selection)-selection[Selection to access]:selection:(primary secondary clipboard buffer-cut)' \ - $'-noutf8[Use old Unicode, don\'t treat text as UTF-8]' \ - '(-)-version[version information]' \ - '(-quiet -verbose)-silent[Errors only, run in background]' \ - $'(-silent -verbose)-quiet[Run in foreground, show what\'s happening]' \ - '(-silent -quiet)-verbose[Running commentary]' + '(-i -in -o -out)'{-i,-in}'[read text into X selection (default)]' \ + '(* -i -in -o -out)'{-o,-out}'[print selection to standard output]' \ + '(-o -out -f -filter -quiet)'{-f,-filter}'[copy input additionally to standard output]' \ + {-l,-loops}'[number of selection requests to wait before exiting]:number' \ + {-t,-target}'[specify data format]:format:($(_call_program targets xclip -o -t TARGETS))' \ + {-d,-display}'[X display to connect to]:display:_x_display' \ + '(-)'{-h,-help}'[display usage information]' \ + '(-selection)-selection[selection to access]:selection:(primary secondary clipboard buffer-cut)' \ + "-noutf8[operate in legacy, non-Unicode, mode]" \ + '(-)-version[display version information]' \ + '(-quiet -verbose)-silent[errors only, run in background]' \ + "(-silent -verbose)-quiet[run in foreground, show what's happening]" \ + '(-silent -quiet)-verbose[running commentary]' \ + '(-o -out)*:input file:_files'