zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: martin f krafft <madduck@debian.org>, 514767@bugs.debian.org
Cc: zsh-workers@sunsite.dk
Subject: Re: Bug#514767: lp can print PDF files, but completion offers only PS with relative paths
Date: Tue, 10 Feb 2009 18:25:19 +0000	[thread overview]
Message-ID: <20090210182519.GA19120@scru.org> (raw)
In-Reply-To: <20090210175430.GA4133@piper.oerlikon.madduck.net>

On Tue, Feb 10, 2009 at 06:54:30PM +0100, martin f krafft wrote:
> While
> 
>   lp /tmp/bla<TAB>
> 
> correctly suggests bla.pdf, doing
> 
>   lp ../bla<TAB>
> 
> from a subdir in /tmp does not work:
> 
> piper:/tmp/orbit-madduck% lp ../                                                                 #10004
> PostScript file
> crontab.XPNG6K/  crontab.rVhVNx/  gpg-oorgbS/      lost+found/      ssh-wzKtD26287/  ssh-yAbsSs4771/

Presumably many printing systems can handle other types of files as well.

Index: Completion/Unix/Command/_lp
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_lp,v
retrieving revision 1.3
diff -u -r1.3 _lp
--- Completion/Unix/Command/_lp	17 May 2001 18:14:18 -0000	1.3
+++ Completion/Unix/Command/_lp	10 Feb 2009 18:24:03 -0000
@@ -47,6 +47,6 @@
     fi
     return 1
   else
-    _ps
+    _pspdf
   fi
 fi


           reply	other threads:[~2009-02-10 18:25 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20090210175430.GA4133@piper.oerlikon.madduck.net>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090210182519.GA19120@scru.org \
    --to=schizo@debian.org \
    --cc=514767@bugs.debian.org \
    --cc=madduck@debian.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).