On 5/15/17 3:20 PM, Eduardo Bustamante wrote: > I think this is the fix:
Yeah, that looks right. I see what happened. Thanks. > dualbus@debian:~/src/gnu/bash$ git diff -- bashline.c > diff --git a/bashline.c b/bashline.c > index 7884416a..c92255d6 100644 > --- a/bashline.c > +++ b/bashline.c > @@ -3247,7 +3247,7 @@ bash_directory_completion_hook (dirname) > char delims[2]; > > delims[0] = closer; delims[1] = 0; > - p = skip_to_delim (t, t - local_dirname + 1, delims, > SD_NOJMP|SD_COMPLETE); > + p = skip_to_delim (t, 1, delims, SD_NOJMP|SD_COMPLETE); > if (t[p] != closer) > should_expand_dirname = 0; > } > -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/