Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Add "page-ranges" to the _lp completion
- X-seq: zsh-users 17223
- From: Silas Silva <silasdb@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Add "page-ranges" to the _lp completion
- Date: Tue, 4 Sep 2012 14:56:37 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20120113;        h=date:from:to:subject:message-id:mail-followup-to:mime-version         :content-type:content-disposition:user-agent;        bh=IjkguFaJn0eO2n8STMk8lzZvDoRKtRLpuyQRYYFpL34=;        b=LxqBVX+ffTkxlDP/QAc2bH5ru8pR9WiauVa5TlYUHrkE8tX/eZvymQ5uHe5rlBiqav         pnEOlJO8z+dpxOU5DXad1tRj8FMAJe0e1eAEMZk7gjq1PJAiUgu48roKvJOen5aFQ0Bv         L9Z3+EVOZ6bT362DKAopzvRSlSbrw7Z+BgDZ1ueuH84BaGDJfjcqh0CQ76hC/hTTK7A1         9F1P1vVB/spssv1BT8pRdRJCbLap5MCnOiZg4i3YU5ZBymhQ1A4gSTzblFNR9r8d8jwt         UbF4nB6H2REoe1FBccxzSj13d5HRZgRiZWEzSY3zSyoBSDjD1AKkTORbiA4j6F+E5gIr         M7kg==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi there!
A sugestion to add to the _lp file (regarding page selection when
printing stuff): the "page-ranges" option.
See patch.
Thank you.
-- 
Silas Silva
diff --git a/Completion/Unix/Command/_lp b/Completion/Unix/Command/_lp
index e0654e7..8da84a1 100644
--- a/Completion/Unix/Command/_lp
+++ b/Completion/Unix/Command/_lp
@@ -28,7 +28,7 @@ _lp_job_options()
 
   # Generic options (from lp manual page)
   lopts_with_args=( media orientation-requested sides number-up scaling cpi lpi
-    page-{bottom,left,right,top} )
+    page-{bottom,left,right,top} page-ranges )
 
   lopts_no_args=(fitplot landscape)
 
Messages sorted by:
Reverse Date,
Date,
Thread,
Author