From 8a3cf144f25dd0cb1e20928b2c2f2c53b34c40c3 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Sat, 20 Sep 2014 00:26:10 -0700 Subject: Don't include child directories of $PATH in completions Directories are completed like commands, because of implicit cd. However, directories found inside $PATH entries should not be completed, as implicit cd doesn't work there. Similarly, directories should not be completed after the `command` builtin. Fixes #1695. --- tests/test6.out | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test6.out') diff --git a/tests/test6.out b/tests/test6.out index d61d3c5f..268b05ea 100644 --- a/tests/test6.out +++ b/tests/test6.out @@ -30,3 +30,6 @@ CCCC: -b -bar CCCC: +implicit cd complete works +no implicit cd complete after 'command' +PATH does not cause incorrect implicit cd -- cgit v1.2.3