* Re: Bug#514767: lp can print PDF files, but completion offers only PS with relative paths
[not found] <20090210175430.GA4133@piper.oerlikon.madduck.net>
@ 2009-02-10 18:25 ` Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2009-02-10 18:25 UTC (permalink / raw)
To: martin f krafft, 514767; +Cc: zsh-workers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-10 18:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20090210175430.GA4133@piper.oerlikon.madduck.net>
2009-02-10 18:25 ` Bug#514767: lp can print PDF files, but completion offers only PS with relative paths Clint Adams
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).