[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature Request: LSPATH for filename completion.
From: |
Chet Ramey |
Subject: |
Re: Feature Request: LSPATH for filename completion. |
Date: |
Sat, 12 Jul 2008 15:41:35 -0400 |
User-agent: |
Thunderbird 2.0.0.14 (Macintosh/20080421) |
Some Developer wrote:
Hello,
1. It may help if we could overload CDPATH (either as it is, or via a
shopt for backward compatibility reasons) so that Filename Completion
consults CDPATH also.
This is a perfect opportunity to use programmable completion. Writing a
shell function that uses CDPATH (or any other variable you choose,
including LSPATH) should be fairly simple, and you can use it as the
completion function for any command you like.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/