Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33155 - /etc/profile.d/tcsh-complete causing error on tcsh startup
Summary: /etc/profile.d/tcsh-complete causing error on tcsh startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-10 10:30 UTC by Jim Mahood
Modified: 2003-12-22 07:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Mahood 2003-11-10 10:30:57 UTC
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%
Comment 1 Guy Martin (RETIRED) gentoo-dev 2003-12-22 07:10:40 UTC
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 :)
Comment 2 Guy Martin (RETIRED) gentoo-dev 2003-12-22 07:25:23 UTC
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.