On 4/17/14, 1:30 AM, Clark Wang wrote:
See following example with bash-4.3.11 (compiled with the default configure
option):
[STEP 101] $ complete -r
[STEP 102] $ shopt direxpand
direxpand on
[STEP 103] $ find .
.
./the-dir
./the-dir/file
./the dir
./the dir/file
[STEP 104] $
See following example with bash-4.3.11 (compiled with the default configure
option):
[STEP 101] $ complete -r
[STEP 102] $ shopt direxpand
direxpand on
[STEP 103] $ find .
.
./the-dir
./the-dir/file
./the dir
./the dir/file
[STEP 104] $ foo the-TAB
[STEP 104] $ foo the-dir/TAB
[STEP 104] $