On 3/12/07, Guillaume D. <[EMAIL PROTECTED]> wrote:
> Axel Liljencrantz wrote:
> > On 3/10/07, Guillaume <[EMAIL PROTECTED]> wrote:
> >> > `cd -` seems not to work: it just hangs, the only way out is to
> >> close the
> >> > shell window!
> >>
> >> This seems to work for me on Ubuntu Linux though (so that may be a
> >> MacOSX-related problem).
>
> Dunno how to track this one down... Any idea?

In fish, there is a 'cd' builtin and a wrapper function around the
builtin that adds extra functionality, including support for the '-'
argument. I suspect that the function is calling something that is
going wrong. Does the prevd function work in the same situation?

>
> Also the '-' appears red but it is a valid argument for `cd`.
>

That is a bug. I've added it to the todo list.

>
> >> > Alt-D on a empty line gives:
> >> > ---8<---
> >> > -e /Users/guillaume  fish: invalid option -- 1
> >> > ---8<---
> >> > (this is in /Users/guillaume right after shell has started, but any
> >> empty
> >> > line gives a similar error)
> >>
> >> Ditto. It seems that's the `dirh` invocation without parameters which
> >> fails on MacOSX: typing that directly on the commandline gives exactly
> >> the
> >> same error.
> >
> > Very interesting. Thank you for the report.
> >
> > Could you find out which command in the dirh shellscript function is
> > causing this problem?
>
> I will try... need to learn some bits of fish language first!

Feel free to ask if you need any pointers.

-- 
Axel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to