diff --git a/complete.tcsh b/complete.tcsh index 9ff3801..2f2aafc 100644 --- a/complete.tcsh +++ b/complete.tcsh @@ -10,10 +10,8 @@ # 1999/06/28: resort to the order to fit complete.tcsh # found in tcsh-6.08.05, add the mh completes. # - set _man_sections=(`\ls -1dfUA ${_manpath}*|sed s%/.\*/man%%|sort -u`) - set autolist=ambiguous - set noglob # + unset noglob set hosts foreach _f ("$HOME/.hosts" /etc/csh.hosts "$HOME/.rhosts" /etc/hosts.equiv) if ( -r $_f ) then @@ -34,8 +32,11 @@ else set _manpath="/usr{{/X11/man,/openwin/man,/share/man}/{man,cat},{/man/{man,cat}}}" endif + set _man_sections=(`\ls -1dfUA ${_manpath}*|sed s%/.\*/man%%|sort -u`) + set autolist=ambiguous + set noglob if ( -d /usr/lib/ispell/ ) then - set _hash=(`\ls -1fUA /usr/lib/ispell/|&\sed -rn \\%.\*\\.hash%{s%\.hash%%p}`) + set _hash=(`\ls -1fUA /usr/lib/ispell/|&sed -rn \\%.\*\\.hash%{s%\.hash%%p}`) else set _hash=(english deutsch) endif