It appears that someone commented out one line of a multi-line 'complete' command in this file without commenting the following line: [snip lines 919-920 /etc/profile.d/tcsh-complete] #complete umountall c/-/"(F h k l r s)"/ n@-F@'`\ls -1 /usr/lib/fs`'@ \ n/-h/'`df -k | cut -s -d ":" -f 1 | sort -u`'/ [snip] The second line is executed on its own and causes an error. Without knowing why the first line was commented, it seems that commenting the second line is the proper resolution. Reproducible: Always Steps to Reproduce: 1. emerge tcsh 2. etc-update (not required to reproduce this bug in most cases) 3. tcsh Actual Results: n/-h/`df -k | cut -s -d ":" -f 1 | sort -u`/: Command not found. tcsh prompt% Expected Results: tcsh prompt%
I don't know why but bsd part of tcsh-complete script was uncomented. I just commented them and it worked. I hope you don't mind that I fixed this bug Nick :)
Ooops, BSD stuuf should not be commented but in fact a line above it was uncomented. It was the end of a SRV4 completion line. Now bug #21853 still fixed too. I'll also bump the revision.