This is the mail archive of the
mailing list for the Cygwin project.
bash tab completion
Anyone else have this problem or is it just me?
---------- Forwarded message ----------
From: Lee <email@example.com>
Date: Sat, 6 Aug 2016 12:36:25 -0400
Subject: bash tab completion
# 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 >|
$ ls /tmp/xc*
$ 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>/
$ 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?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple