[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


[Fink-devel] OS X version comparisons (was Re: zsh-templates with OS X 10.10)

2014-08-27 Thread Daniel Macks
A quick grep for this construct found 43 of them in *.info, but there 
are lots more similar cases not as easy to find with a one-liner. A 
more portable way might be what sqlite3.info does: cut off the 
major-version (just compare N not 10.N) and do numerical (not string) 
comparison. 

dan

On Wed, 27 Aug 2014 19:02:14 -0700, William G. Scott 
wgsc...@ucsc.edu wrote:
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



  --
Daniel Macks
dma...@netspace.org



--
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