I've been messing with fish on Leopard, and here are some of the things I've noticed:
1. Despite setting CLICOLOR=1, ls ignores this setting. Making a function to add -G into the args, works, but that threw me off for a while. ls under bash doesn't have this issue. 2. Any completions involving /etc/fstab or /etc/mtab don't work, because neither exist on OS X. I think you could get away with not having fstab and just doing something like "/dev/*disk*", since I believe all mountable disk devices start with disk or rdisk. I'm not sure about mtab. You could try filtering df's output and only match lines that start with /, then cut just the last field to get the device. It might be worth looking at how df actually finds its information though. 3. PWD is broken on startup. Reading back on the mailing list, this seems to be some kind of general issue. This was easily solved for me by putting "cd" at the end of ~/.config/fish/config.fish. Maybe this would be a good general solution. There was also an issue of it trying to launch X11 for no reason, which I think was addressed on the list already, but I just disabled the X-related component it was trying to build and then things were fine from there. I'm sure there are other Unix-related facilities that fish expects to exist but that OS X doesn't provide. Grepping through the source for / etc/, /dev/, and so on, might be a good idea. If there's any interest, I could try producing some patches for device completion, but like I said, I'm not sure of those solutions are the best. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
