[Fink-devel] zsh-templates with OS X 10.10

2014-08-27 Thread Kevin Horton
I’m running the second public beta of OS X 10.10 on my secondary computer.  
zsh-templates works mostly well, but something is awry with dirstack, cd? and 
gdirs.  All three emit three “-i used with no filenames on the command line, 
reading from STDIN.” lines in the terminal for each entry (i.e. 60 lines of 
this spurious output, for the default 20 returned values).  The functions do 
work, but their usefulness is greatly reduced at the CLI, as you must scroll 
and visually parse the output to find the directory stack lines.

I’d be happy to help debug in any way - just tell me what additional info you 
need.

Thanks for zsh-templates.

-- 
Kevin Horton
Ottawa, Canada--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] zsh-templates with OS X 10.10

2014-08-27 Thread William G. Scott
Hi Kevin:

It looks like all (or at least most) of the problems are due to conditional 
tests of the form

if [[ $(sw_vers -productVersion)  10.N ]]; then

(where N is 4, 5, 6, 7, 8, 9.  10.10 is evaluated as 10.1.)

I’ll try to come up with a reasonable fix.

Bill




On Aug 27, 2014, at 1:51 PM, Kevin Horton khorto...@rogers.com wrote:

 I’m running the second public beta of OS X 10.10 on my secondary computer.  
 zsh-templates works mostly well, but something is awry with dirstack, cd? and 
 gdirs.  All three emit three “-i used with no filenames on the command line, 
 reading from STDIN.” lines in the terminal for each entry (i.e. 60 lines of 
 this spurious output, for the default 20 returned values).  The functions do 
 work, but their usefulness is greatly reduced at the CLI, as you must scroll 
 and visually parse the output to find the directory stack lines.
 
 I’d be happy to help debug in any way - just tell me what additional info you 
 need.
 
 Thanks for zsh-templates.
 
 -- 
 Kevin Horton
 Ottawa, Canada


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel