|
From: | Clark Wang |
Subject: | `complete -d cd' does not work for dirs with a ' char |
Date: | Thu, 24 Apr 2014 11:21:38 +0800 |
See following example with bash-4.3.11: [STEP 101] $ mkdir -p "foo's dir/dir1/dir2" [STEP 102] $ complete -d cd [STEP 103] $ cd <TAB> [STEP 103] $ cd foo\'s\ dir/<TAB> The 1st <TAB> worked fine but the 2nd failed to work. Bash 4.2.47 and 4.1.9 behaved the same. -clark
[Prev in Thread] | Current Thread | [Next in Thread] |