* 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