So I am back beating my head against WinXP, arg… the Pd WindowsXP build machine died and I can’t get the disk to do anything but click. So I am actually running a Windows install… ug. I just got Cygwin installed and am setting up my old environment, making my Cygwin HOME dir use my Windows %UserProfile%. And yes, I still use tcsh… when running tcsh, I get if: Expression Syntax. and it doesn’t finish loading its rc files.

For some reason, this bug has existed for years, and hasn’t been fixed. I guess I am the only one making my Windows home dir the same as my Cygwin home dir. Perhaps I expect too much from Cygwin+Windows.

It turns out that it is just a case of missing quotes in /etc/profile.d/complete.tcsh. At line 44, if ( -r $f ) then should be if ( -r "$f" ) then and voila! it works.