Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#514767: lp can print PDF files, but completion offers only PS with relative paths
- X-seq: zsh-workers 26544
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: martin f krafft <madduck@xxxxxxxxxx>, 514767@xxxxxxxxxxxxxxx
- 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
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20090210175430.GA4133@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: martin f krafft <madduck@xxxxxxxxxx>, 514767@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20090210175430.GA4133@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author