I fixed this bug a while back.

Be sure and pull from one of the repos.  Seq was broken on mac.

-Dave

On Fri, Feb 3, 2012 at 7:11 AM, Peter Flood <i...@whywouldwe.com> wrote:

>  $ seq 0
> 1
> 0
>
>
>
> On 03/02/2012 19:02, Jan Kanis wrote:
>
> I can't reproduce this on linux.
> The 'prevd' function gets called from the 'cd' function, but without any
> arguments, so the 'switch $argv[$i]' line should not be executed.
> What is the output of the command 'seq 0' on your system? It should not
> give any output at all.
>
>
> On Thu, Feb 2, 2012 at 16:48, Peter Flood <i...@whywouldwe.com> wrote:
>
>> When I run `cd -` I get this output every time (but the command does
>> work). I'm compiled and installed from the gitorious master a couple of
>> days ago, OS X lion.
>>
>> I'm only running the command once but the output seems to be duplicated.
>>
>> $ cd -
>> switch: Expected exactly one argument, got 0
>> /usr/local/share/fish/functions/prevd.fish (line 16): switch $argv[$i]
>> ^
>> in function 'prevd',
>> called on line 20 of file '/usr/local/share/fish/functions/cd.fish',
>>
>> in function 'cd',
>> called on standard input,
>> with parameter list '-'
>>
>>
>> switch − switch ‐ conditionally execute a block of commands
>>
>> switch ‐ conditionally execute a block of commands
>> Synopsis
>> switch VALUE; [case [WILDCARD...]; [COMMANDS...]; ...] end
>>
>> switch: Type 'help switch' for related documentation
>>
>> switch: Expected exactly one argument, got 0
>> /usr/local/share/fish/functions/prevd.fish (line 16): switch $argv[$i]
>> ^
>> in function 'prevd',
>> called on line 20 of file '/usr/local/share/fish/functions/cd.fish',
>>
>> in function 'cd',
>> called on standard input,
>> with parameter list '-'
>>
>>
>> switch − switch ‐ conditionally execute a block of commands
>>
>> switch ‐ conditionally execute a block of commands
>> Synopsis
>> switch VALUE; [case [WILDCARD...]; [COMMANDS...]; ...] end
>>
>> switch: Type 'help switch' for related documentation
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> Fish-users mailing list
>> Fish-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to