From 63fefe6cc433435a11831eff3510b76ee253f864b506621a5c4735f2631b5289 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 12 Oct 2023 12:17:40 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/shells/tcsh?expand=0&rev=163 --- complete.tcsh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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