[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shell completion not honouring escaped characters
From: |
Chet Ramey |
Subject: |
Re: Shell completion not honouring escaped characters |
Date: |
Fri, 27 Jan 2006 21:50:24 -0500 |
User-agent: |
Thunderbird 1.5 (Macintosh/20051201) |
Andrew Parker wrote:
> BASH_VERSION 3.1.1(1)-release
> Running on Fedora Core 5 (test 2)
>
> Pressing tab on a line with escape characters will ignore, and remove,
> the escaped characters to perform the completion. For example, pressing
> tab at the end of each of these lines removes the "\" and changes the
> meaning of the line.
>
> ls \~andy/
> ls \`pwd`/
I believe I can fix this with some code rearrangement, at the cost of
slightly altering the requirements imposed on
rl_directory_completion_hook.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/