public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* bash tab completion
@ 2016-08-07  0:12 Lee
  2016-08-24 17:21 ` Lee
  0 siblings, 1 reply; 2+ messages in thread
From: Lee @ 2016-08-07  0:12 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bash tab completion
  2016-08-07  0:12 bash tab completion Lee
@ 2016-08-24 17:21 ` Lee
  0 siblings, 0 replies; 2+ messages in thread
From: Lee @ 2016-08-24 17:21 UTC (permalink / raw)
  To: cygwin

Anyone else have this problem or is it just me?

Thanks
Lee

---------- Forwarded message ----------
From: Lee <ler762@gmail.com>
Date: Sat, 6 Aug 2016 12:36:25 -0400
Subject: bash tab completion
To: cygwin@cygwin.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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-24 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-07  0:12 bash tab completion Lee
2016-08-24 17:21 ` Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).