delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/29/03:19:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 29 Jun 2002 09:19:08 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: TAB-completion and filesystem problem
Message-ID: <20020629091908.A1247@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <F443AkTR60oVexDAeys00000d2f AT hotmail DOT com>
Mime-Version: 1.0
In-Reply-To: <F443AkTR60oVexDAeys00000d2f@hotmail.com>
User-Agent: Mutt/1.3.22.1i

On Fri, Jun 28, 2002 at 02:16:05PM -0700, C. J. wrote:
> 
> >>I think this is a lame 'feature' of tcsh.
> >>If you start your cmdline with 'cp' or 'mv',
> >>it refuses to tab-complete the 2nd argument,
> >>maybe to prevent you from accidently overwriting
> >>a file by forcing you to type the full name.
> >>I wish there was a way to disable this.
> >
> >There is.  Reading /etc/cshrc.* and especially 'man tcsh' could help.
> 
> Arrgh, I hate digging through man pages to fix stuff that was working fine 
> for years.  OK, for all those out there having problems with this:
> you need to go to /etc/profile.d/complete.tcsh and '#' comment out the lines 
> 
> for 'complete mv' and 'complete cp'.

Oh boy.  Did you see the following two lines in /etc/csh.cshrc:

# If we find $HOME/.{t}cshrc we skip our settings used for interactive sessions.
if (-r "$HOME/.cshrc" || -r "$HOME/.tcshrc") goto end

Probably not.  Btw., *my* ~/.cshrc file contains a line

uncomplete *

which has the surprisingly effect that I don't have to change the
files from the distro...

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019