ping - any feedback, positive or negative? On 04/17/2015 03:53 PM, Eric Blake wrote: > Based on an idea from Dan Colascione: > https://sourceware.org/ml/cygwin/2010-11/msg00022.html > > Usage: add this to your shell startup: > EXECIGNORE='*.so:*.so.*' > to cause TAB completion to ignore shared library files when crawling > the file system to look for executables. > > Cygwin has been using a variation of this patch since December 2010, > in part because on that platform, shared libraries (*.dll) MUST have > the executable bit set, and MUST live in /usr/bin alongside normal > executables, so they can easily get in the way of TAB completion. > At least on Linux, *.so and *.so.* files tend to live in a > separate location (/usr/lib{,64}/) from normal executables. But > even on Linux, attempts to directly execute a .so file (other than > the rare exception like /usr/lib/libc.so) usually results in > spectacular failure, so this is useful to more than just Cygwin. > > Signed-off-by: Eric Blake <ebl...@redhat.com> > --- > doc/bash.1 | 8 ++++++++ > doc/bashref.texi | 11 ++++++++++- > findcmd.c | 43 +++++++++++++++++++++++++++++++++++++------ > findcmd.h | 1 + > pathexp.h | 4 ++-- > variables.c | 9 +++++++++ > variables.h | 1 + > 7 files changed, 68 insertions(+), 9 deletions(-)
-- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature