Re: [Fish-users] errors when doing cd -

2012-02-05 Thread Peter Flood
I've just noticed you attached your version of seq to the message, I tried it and now don't get the error any more. Many thanks On 05/02/2012 23:14, Peter Flood wrote: The seq I have is the one that came with my machine, here's the output, is this what you'd expect? $ file /usr/bin/seq /usr

Re: [Fish-users] errors when doing cd -

2012-02-05 Thread Peter Flood
The seq I have is the one that came with my machine, here's the output, is this what you'd expect? $ file /usr/bin/seq /usr/bin/seq: Mach-O universal binary with 2 architectures /usr/bin/seq (for architecture x86_64):Mach-O 64-bit executable x86_64 /usr/bin/seq (for architecture i386):Ma

Re: [Fish-users] errors when doing cd -

2012-02-03 Thread David Frascone
So, my seq works, and I *thought* I checked it in. (Attaching now) It is in /usr/local/bin, and I could have modified it . . not sure :) I remember fixing it. Try this: $ type seq Then, $ file /wherever/seq/was/in/the/filesystem Make sure seq is a fish script text executable -- perhaps you a

Re: [Fish-users] errors when doing cd -

2012-02-03 Thread Peter Flood
I'm using the latest gitorious master, I pulled (no changes) and recompiled but still the same. Here's the latest commit when I run hg log changeset: 1869:74cfa0edf2a5 bookmark:master tag: default/master tag: tip user:Jan Kanis date:Tue Jan 31 01:38:20 2012

Re: [Fish-users] errors when doing cd -

2012-02-03 Thread David Frascone
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 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

Re: [Fish-users] errors when doing cd -

2012-02-03 Thread Peter Flood
$ 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

Re: [Fish-users] errors when doing cd -

2012-02-03 Thread Jan Kanis
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,

[Fish-users] errors when doing cd -

2012-02-02 Thread Peter Flood
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/loc