[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Filename completion containing slashs

From: Chet Ramey
Subject: Re: [Help-bash] Filename completion containing slashs
Date: Sat, 03 Jan 2015 15:53:21 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 1/3/15 3:41 PM, address@hidden wrote:
> Hi,
> if I execute the completion script below and enter "foo <tab>", bash prints
> only "dir" instead of "but/dir".

If you are performing filename completion (-o filenames), readline will
display the basename of filenames in the list of possible completions.
There is no option to control only that.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]