[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Another direxpand problem in 4.3?
From: |
Clark Wang |
Subject: |
Another direxpand problem in 4.3? |
Date: |
Thu, 17 Apr 2014 13:30:24 +0800 |
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] $ foo the-dir/file
bash: foo: command not found
[STEP 105] $ foo the\<SPACE><TAB>
[STEP 105] $ foo the\ dir/<TAB>
[STEP 105] $ foo /root/tmp/direxpand/the\ dir/file
bash: foo: command not found
[STEP 106] $
In STEP 105 the relative path was expanded to the full path. I think it
should not.
-clark
- Another direxpand problem in 4.3?,
Clark Wang <=