delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/24/11:51:38

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=V8a9ail
1IGWVx7TapO7qh8bARQjFJ6SAYABeWEWArImc8CB88NEUJ+nqo5ToiKFgM9LikHf
UrAweKjooMaNOUVvjHkOjJoZFedvU46qrnn7YwDp+sFk4qpedYYkTLnkZqJOaRie
dkDNiMvgCQMAbGir8P5ex0INQF50kZWVbyrA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=cWIghVVfJpDOG
cISZ/TOWlEoWC4=; b=cslHHcr7TalArjGskX62CB9qMuBPWzNz7+JZLwzisPISb
207leldlmtI4xFWwBObwtoCxNSekn8JV2nE8FDDhX4rCceSJ7g5mVZhWIA7Ul5jf
U82/XItVCmZZvXazA8GLWDNKqkwlLtBtRjCWaZK5OBQzvugwVbgy7aKQwpYfis=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Forwarded, cygwin AT cygwin DOT com, cygwincygwincom, lee
X-HELO: mail-it0-f42.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=t+HyL/VykMAOJGauK2CjAC+mzKCWRo9ELvEaeMn8K94=; b=M3Eed18zn0ffgCPdeklyubEdI0QOWwrWbq/skj27tyAu/JaCkOPapDBHWKkcMxceRT LsYlVDRgPM/8gKNULL0fQjHrAxMQM+97wnJupFz5DaZay1EmK2ZForEynCCcfmidLkQR fINp09Wos4u2gDqPKBBeHSGACdxkx+6CFcFcs2Wom0cLJ5IAasXr7COFCyxOj5Qot9ns A2UGbVxcpRMb+QPPehTCwgJbIRvbJ3d7r1bAEHUz9rNnW3egBIBeaRqAw56yjkOAimnE 2jsfIXb8xAF9firhoT+wH7AB6UNahRNxgzmb9AGYnAmeQ4jRB6W9/n7LjFLxlHaXZnGn UYGg==
X-Gm-Message-State: AEkoouvlKNU7xwUq39/MIqJEFZ419HsJCD0WqOla+KVjJAZSRTNBMBzrma46dluA399+4A8O4kGPDqWVGP46fA==
X-Received: by 10.107.12.223 with SMTP id 92mr4666670iom.158.1472053863976; Wed, 24 Aug 2016 08:51:03 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <CAD8GWsu_oU3tN+NBkdzkS8zF+X6dfgbbqHUtmJ7WJvTUdYzBWA@mail.gmail.com>
References: <CAD8GWsu_oU3tN+NBkdzkS8zF+X6dfgbbqHUtmJ7WJvTUdYzBWA AT mail DOT gmail DOT com>
From: Lee <ler762 AT gmail DOT com>
Date: Wed, 24 Aug 2016 11:51:03 -0400
Message-ID: <CAD8GWssR=aAp=ahid_SbrSAyC7L5dPuzixpYt6r3qw=g01E1ow@mail.gmail.com>
Subject: bash tab completion
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Anyone else have this problem or is it just me?

Thanks
Lee

---------- Forwarded message ----------
From: Lee <ler762 AT gmail DOT com>
Date: Sat, 6 Aug 2016 12:36:25 -0400
Subject: bash tab completion
To: cygwin AT cygwin DOT com

I have
  # No over-writing files
  set -o noclobber
in my .bash_profile, so if I want to redirect output to an already
existing file I have to use " >| "

What I recently noticed is that tab completion doesn't work after >|

For example:

$ ls /tmp/xc*
/tmp/xcompile.diff

$ diff > /tmp/xc[tab]
and it expands to "$ diff > /tmp/xcompile.diff "

$ diff >| /tmp/xc[tab]
and nothing happens.

What seems a bit strange is that
$ diff >| /tmp/xc<alt>M<alt>-<alt>/
gives me
$ diff >| /tmp/xcompile.diff

"/tmp/xc" doesn't start with any of "$~@", there is no command, alias
or function that starts with "/tmp/xc" and so it seems like tab
completion should give me the same thing as <alt>M-/ but it doesn't
:-(


Is there something I need to do so that tab completion after " >| " works?


TIA,
Lee

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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